summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-03-24 21:31:48 (GMT)
committerBrad King <brad.king@kitware.com>2004-03-24 21:31:48 (GMT)
commit39bf5916e124ad9ef78115cf5acf43e5335e465c (patch)
tree085da76e8ed4719c59784caa6eb2434609987902 /Source/cmLocalUnixMakefileGenerator.cxx
parent7fa9a5f5d6075e29118bf114feb2d8b1d2ad6213 (diff)
downloadCMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.zip
CMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.tar.gz
CMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.tar.bz2
BUG: Added support to library flags parser for -Wl and -R 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 3ca70d8..76d4762 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -742,7 +742,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]*\\-l)|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
+ cmsys::RegularExpression reg("^([ \t]*\\-[lWR])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
if(lib->first.find('/') != std::string::npos
&& !reg.find(lib->first))
{