chmod libs so install_name_tool can modify them

This commit is contained in:
Joey Hess 2012-12-08 15:46:16 -04:00
parent 0017d03ab2
commit 86e5da4c92

View file

@ -43,6 +43,7 @@ installLibs appbase = do
createDirectoryIfMissing True appbase createDirectoryIfMissing True appbase
putStrLn $ "installing " ++ lib putStrLn $ "installing " ++ lib
_ <- boolSystem "cp" [File lib, File dest] _ <- boolSystem "cp" [File lib, File dest]
_ <- boolSystem "chmod" [Param "644", File dest]
return $ Just appbase return $ Just appbase
) )