diff options
author | Brad King <brad.king@kitware.com> | 2004-03-24 21:31:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-03-24 21:31:48 (GMT) |
commit | 39bf5916e124ad9ef78115cf5acf43e5335e465c (patch) | |
tree | 085da76e8ed4719c59784caa6eb2434609987902 | |
parent | 7fa9a5f5d6075e29118bf114feb2d8b1d2ad6213 (diff) | |
download | CMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.zip CMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.tar.gz CMake-39bf5916e124ad9ef78115cf5acf43e5335e465c.tar.bz2 |
BUG: Added support to library flags parser for -Wl and -R options.
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 2 |
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)) { |