Revert "skip frameworks"

This reverts commit f850a64bd0.

At least CoreFoundation framework seems to be needed.
This commit is contained in:
Joey Hess 2012-12-07 14:40:48 -04:00
parent 02bd012587
commit 0986a21ce0

View file

@ -51,9 +51,7 @@ otool :: FilePath -> IO [FilePath]
otool appbase = do
files <- filterM doesFileExist =<< dirContentsRecursive appbase
s <- readProcess "otool" ("-L" : files)
return $ nub $ filter (not . framework) $ parseOtool s
where
framework f = ".framework" `isInfixOf` f
return $ nub $ parseOtool s
parseOtool :: String -> [FilePath]
parseOtool = catMaybes . map parse . lines