summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-12-22 19:17:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-12-22 19:17:47 (GMT)
commita5fa6e2fe28ac1457795490ec4d002bd8d5231ef (patch)
treeb8f29afbdc3fe1bbb2054e526b90a6e36eda1d8e /Source/cmLocalUnixMakefileGenerator.cxx
parentf0bc1ed9b2557616bb8ec1d33b134b96bfa1130b (diff)
downloadCMake-a5fa6e2fe28ac1457795490ec4d002bd8d5231ef.zip
CMake-a5fa6e2fe28ac1457795490ec4d002bd8d5231ef.tar.gz
CMake-a5fa6e2fe28ac1457795490ec4d002bd8d5231ef.tar.bz2
ENH: make new relative rpath work with spaces
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
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 );
}
}