summaryrefslogtreecommitdiff
path: root/Build/OSXMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-07 14:40:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-07 14:40:48 -0400
commit0aa17969582a45d7d28967f45ed9eb2c80560856 (patch)
tree69dcf2058fa119427cc408c5accc06887a184e48 /Build/OSXMkLibs.hs
parent6a2f9fc2bc34c8ec229c44db8ee7c06f1709c161 (diff)
Revert "skip frameworks"
This reverts commit 206451dd02b4deea8b1cba9309883bef4cfbbc89. At least CoreFoundation framework seems to be needed.
Diffstat (limited to 'Build/OSXMkLibs.hs')
-rw-r--r--Build/OSXMkLibs.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index 2dddd01f6..cb8c017ae 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -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