summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-08 15:46:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-08 15:54:39 -0400
commit2ee6ce68feefa2a46051e6116e772f72d2ecfd91 (patch)
tree15d90afdb6ff19233f3e54522cad58ae1deb76e1 /Build
parentd49a33d139af878606486dac6da62482897ae379 (diff)
chmod libs so install_name_tool can modify them
Diffstat (limited to 'Build')
-rw-r--r--Build/OSXMkLibs.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index 45a86000b..efe0cc1dd 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -43,6 +43,7 @@ installLibs appbase = do
createDirectoryIfMissing True appbase
putStrLn $ "installing " ++ lib
_ <- boolSystem "cp" [File lib, File dest]
+ _ <- boolSystem "chmod" [Param "644", File dest]
return $ Just appbase
)