diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-12-22 18:59:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-12-22 18:59:29 (GMT) |
commit | f0bc1ed9b2557616bb8ec1d33b134b96bfa1130b (patch) | |
tree | 6d1fa49fcd9f94056601d6639514605d76d71939 /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | 4f8afac6559b85225db51cd83a85042bda373c05 (diff) | |
download | CMake-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.cxx | 5 |
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; |