mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user