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:
Brad King 2008-08-05 09:55:08 -04:00
parent e44a9c9299
commit d35b5a2fb1
1 changed files with 1 additions and 1 deletions

View File

@ -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;