mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 13:56:00 +00:00
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)
|
||||
{
|
||||
rpath += cli.GetRuntimeFlag();
|
||||
rpath += this->Convert(ri->c_str(), FULL, SHELL, false);
|
||||
rpath += this->Convert(ri->c_str(), NONE, SHELL, false);
|
||||
rpath += " ";
|
||||
}
|
||||
fout << rpath;
|
||||
|
Loading…
Reference in New Issue
Block a user