summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-12-22 18:59:29 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-12-22 18:59:29 (GMT)
commitf0bc1ed9b2557616bb8ec1d33b134b96bfa1130b (patch)
tree6d1fa49fcd9f94056601d6639514605d76d71939 /Source/cmLocalUnixMakefileGenerator.cxx
parent4f8afac6559b85225db51cd83a85042bda373c05 (diff)
downloadCMake-f0bc1ed9b2557616bb8ec1d33b134b96bfa1130b.zip
CMake-f0bc1ed9b2557616bb8ec1d33b134b96bfa1130b.tar.gz
CMake-f0bc1ed9b2557616bb8ec1d33b134b96bfa1130b.tar.bz2
ENH: use fullpaths based on the actual current directory
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index c5b06a9..b32c969 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -738,7 +738,10 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
linkLibs += libPathFlag;
if(outputRuntime)
{
- runtimeDirs.push_back( cmSystemTools::CollapseFullPath(libpath.c_str()));
+ std::string rpath = "\"`cd \"$(PWD)/";
+ rpath += libpath;
+ rpath += "\";pwd`\"";
+ runtimeDirs.push_back( rpath );
}
}
linkLibs += libpath;