Explorar o código

BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink.

Brad King %!s(int64=17) %!d(string=hai) anos
pai
achega
852242e56b
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Source/cmInstallTargetGenerator.cxx

+ 6 - 0
Source/cmInstallTargetGenerator.cxx

@@ -200,6 +200,12 @@ cmInstallTargetGenerator
         }
       else
         {
+        // Operations done at install time on the installed file should
+        // be done on the real file and not any of the symlinks.
+        toInstallPath = this->GetInstallDestination();
+        toInstallPath += "/";
+        toInstallPath += targetNameReal;
+
         files.push_back(from1);
         if(targetNameReal != targetName)
           {