diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-07 12:21:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-07 12:21:15 -0400 |
commit | 206451dd02b4deea8b1cba9309883bef4cfbbc89 (patch) | |
tree | 714aabdb5d180a700c737e5e38c00283f0848b11 /Build/OSXMkLibs.hs | |
parent | 46a5a43713e35dcda15c04959be06f1a860f9928 (diff) |
skip frameworks
I suspect this might be related to recent reports of hangs.
Diffstat (limited to 'Build/OSXMkLibs.hs')
-rw-r--r-- | Build/OSXMkLibs.hs | 4 |
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 |