Browse Source

ENH: make new relative rpath work with spaces

Bill Hoffman 22 years ago
parent
commit
a5fa6e2fe2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalUnixMakefileGenerator.cxx

+ 2 - 2
Source/cmLocalUnixMakefileGenerator.cxx

@@ -738,9 +738,9 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
         linkLibs += libPathFlag;
         if(outputRuntime)
           {
-          std::string rpath = "\"`cd \"$(PWD)/";
+          std::string rpath = "\"`cd ";
           rpath += libpath;
-          rpath += "\";pwd`\"";
+          rpath += ";pwd`\"";
           runtimeDirs.push_back( rpath );
           }
         }