Forráskód Böngészése

make sure correct path type is used

Bill Hoffman 20 éve
szülő
commit
621c84f9e0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Source/cmFileCommand.cxx

+ 1 - 1
Source/cmFileCommand.cxx

@@ -648,7 +648,7 @@ bool cmFileCommand::HandleInstallCommand(
 #if defined(__APPLE_CC__)
             {
             std::string ranlib = "ranlib ";
-            ranlib += destfile;
+            ranlib += cmSystemTools::ConvertToOutputPath(destfile.c_str());
             if(!cmSystemTools::RunSingleCommand(ranlib.c_str()))
               {
               std::string err = "ranlib failed: ";