ENH: make new relative rpath work with spaces
This commit is contained in:
parent
f0bc1ed9b2
commit
a5fa6e2fe2
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue