summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-05-10 20:40:04 (GMT)
committerBrad King <brad.king@kitware.com>2004-05-10 20:40:04 (GMT)
commit81bd499376f8df870d05504e990f02994288e9c4 (patch)
tree337e17a45fb884b6c996a081033a64fcc11dd7e0 /Source/cmLocalUnixMakefileGenerator.cxx
parent6c4ab7ec52025971d8a038eb8485d6722cbe7011 (diff)
downloadCMake-81bd499376f8df870d05504e990f02994288e9c4.zip
CMake-81bd499376f8df870d05504e990f02994288e9c4.tar.gz
CMake-81bd499376f8df870d05504e990f02994288e9c4.tar.bz2
BUG: Need to recognize -B linker options.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index f7bd1bb..1b61c9b 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -785,7 +785,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
// if a variable expands to nothing.
if (lib->first.size() == 0) continue;
// if it is a full path break it into -L and -l
- cmsys::RegularExpression reg("^([ \t]*\\-[lWR])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
+ cmsys::RegularExpression reg("^([ \t]*\\-[lWRB])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
if(lib->first.find('/') != std::string::npos
&& !reg.find(lib->first))
{