Sfoglia il codice sorgente

BUG: Adjustment of install_name with install_name_tool should account for DESTDIR when specifying the file to be changed.

Brad King 19 anni fa
parent
commit
bfb0ec58e8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/cmInstallTargetGenerator.cxx

+ 1 - 1
Source/cmInstallTargetGenerator.cxx

@@ -361,7 +361,7 @@ void cmInstallTargetGenerator
       {
       os << "\n    -change \"" << i->first << "\" \"" << i->second << "\"";
       }
-    os << "\n    \"" << destination << "/"
+    os << "\n    \"$ENV{DESTDIR}" << destination << "/"
        << this->GetScriptReference(this->Target, "REMAPPED", true) << "\")\n";
     os << "ENDIF(" << component_test << ")\n";
     }