BUG: Do not convert RPATH entries to full path.
When generating RPATH entries on the link line using a repeated linker flag (-R ... -R ... style) do not convert individual entries to a full path. We need to preserve what the user requested.
This commit is contained in:
parent
e44a9c9299
commit
d35b5a2fb1
|
@ -1573,7 +1573,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
|
||||||
ri != runtimeDirs.end(); ++ri)
|
ri != runtimeDirs.end(); ++ri)
|
||||||
{
|
{
|
||||||
rpath += cli.GetRuntimeFlag();
|
rpath += cli.GetRuntimeFlag();
|
||||||
rpath += this->Convert(ri->c_str(), FULL, SHELL, false);
|
rpath += this->Convert(ri->c_str(), NONE, SHELL, false);
|
||||||
rpath += " ";
|
rpath += " ";
|
||||||
}
|
}
|
||||||
fout << rpath;
|
fout << rpath;
|
||||||
|
|
Loading…
Reference in New Issue