summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-07 12:21:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-07 12:21:15 -0400
commit206451dd02b4deea8b1cba9309883bef4cfbbc89 (patch)
tree714aabdb5d180a700c737e5e38c00283f0848b11 /Build
parent46a5a43713e35dcda15c04959be06f1a860f9928 (diff)
skip frameworks
I suspect this might be related to recent reports of hangs.
Diffstat (limited to 'Build')
-rw-r--r--Build/OSXMkLibs.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index cb8c017ae..2dddd01f6 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -51,7 +51,9 @@ otool :: FilePath -> IO [FilePath]
otool appbase = do
files <- filterM doesFileExist =<< dirContentsRecursive appbase
s <- readProcess "otool" ("-L" : files)
- return $ nub $ parseOtool s
+ return $ nub $ filter (not . framework) $ parseOtool s
+ where
+ framework f = ".framework" `isInfixOf` f
parseOtool :: String -> [FilePath]
parseOtool = catMaybes . map parse . lines