ENH: use fullpaths based on the actual current directory
This commit is contained in:
parent
4f8afac655
commit
f0bc1ed9b2
@ -738,7 +738,10 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
|
|||||||
linkLibs += libPathFlag;
|
linkLibs += libPathFlag;
|
||||||
if(outputRuntime)
|
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;
|
linkLibs += libpath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user