From d35b5a2fb1159dbdfea46961df522ccf21e3e373 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 5 Aug 2008 09:55:08 -0400 Subject: [PATCH] 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. --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index d835bc403..79e64d786 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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;