From 206451dd02b4deea8b1cba9309883bef4cfbbc89 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Dec 2012 12:21:15 -0400 Subject: skip frameworks I suspect this might be related to recent reports of hangs. --- Build/OSXMkLibs.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Build') 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 -- cgit v1.2.3