summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-09-27 20:50:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-09-27 20:50:59 (GMT)
commit1c8f0965176e6763e29d531c8804333458ad674b (patch)
tree772d13c0e77129ac6143b95666de1d1b6bb05aa4 /Source/cmUnixMakefileGenerator.cxx
parentd55f530012487694f2a9924d8de6d50181fb2aad (diff)
downloadCMake-1c8f0965176e6763e29d531c8804333458ad674b.zip
CMake-1c8f0965176e6763e29d531c8804333458ad674b.tar.gz
CMake-1c8f0965176e6763e29d531c8804333458ad674b.tar.bz2
BUG: use realpath instead of cd/pwd
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index b51f52f..b1bd7db 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -450,8 +450,8 @@ void cmUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
runtimeDirs.push_back( libpath );
}
}
- cmRegularExpression libname("lib(.*)\\.(.*)");
- cmRegularExpression libname_noprefix("(.*)\\.(.*)");
+ cmRegularExpression libname("lib([^.]*)\\.(.*)");
+ cmRegularExpression libname_noprefix("([^.]*)\\.(.*)");
if(libname.find(file))
{
librariesLinked += "-l";