ENH: make new relative rpath work with spaces

This commit is contained in:
Bill Hoffman 2003-12-22 14:17:47 -05:00
parent f0bc1ed9b2
commit a5fa6e2fe2
1 changed files with 2 additions and 2 deletions

View File

@ -738,9 +738,9 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
linkLibs += libPathFlag; linkLibs += libPathFlag;
if(outputRuntime) if(outputRuntime)
{ {
std::string rpath = "\"`cd \"$(PWD)/"; std::string rpath = "\"`cd ";
rpath += libpath; rpath += libpath;
rpath += "\";pwd`\""; rpath += ";pwd`\"";
runtimeDirs.push_back( rpath ); runtimeDirs.push_back( rpath );
} }
} }