summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-13 12:17:12 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-13 12:17:12 -0400
commit2581ac61e032eb75b9a332ffea6fff16bf1833aa (patch)
tree6d597d6124562aae73e42f6fd8b5859aedf07fde /Build
parent7db480af0f944ca0e6c062cd1243c63ad7f878d1 (diff)
remove libSystem.b from OSX build
Without the frameworks, but with this library, I get: dyld: Symbol not found: __vproc_transactions_enable Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Volumes/git-annex/git-annex.app/Contents/MacOS/./C in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Without this library, things seem to work again w/o frameworks.
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 6e0670d79..b0f87d153 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -64,6 +64,7 @@ otool appbase libmap = do
where
want s = not ("@executable_path" `isInfixOf` s)
&& not (".framework" `isInfixOf` s)
+ && not ("libSystem.B" `isInfixOf` s)
process c [] m = return (nub $ concat c, m)
process c (file:rest) m = do
_ <- boolSystem "chmod" [Param "755", File file]