diff options
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index b32c969..c2cdbfa 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -738,9 +738,9 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout, linkLibs += libPathFlag; if(outputRuntime) { - std::string rpath = "\"`cd \"$(PWD)/"; + std::string rpath = "\"`cd "; rpath += libpath; - rpath += "\";pwd`\""; + rpath += ";pwd`\""; runtimeDirs.push_back( rpath ); } } |