Browse Source

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.
Brad King 17 years ago
parent
commit
d35b5a2fb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
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;