Skip to content
Snippets Groups Projects
Commit a5fa6e2f authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: make new relative rpath work with spaces

parent f0bc1ed9
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment