Revert "skip frameworks"
This reverts commit f850a64bd0
.
At least CoreFoundation framework seems to be needed.
This commit is contained in:
parent
02bd012587
commit
0986a21ce0
1 changed files with 1 additions and 3 deletions
|
@ -51,9 +51,7 @@ otool :: FilePath -> IO [FilePath]
|
||||||
otool appbase = do
|
otool appbase = do
|
||||||
files <- filterM doesFileExist =<< dirContentsRecursive appbase
|
files <- filterM doesFileExist =<< dirContentsRecursive appbase
|
||||||
s <- readProcess "otool" ("-L" : files)
|
s <- readProcess "otool" ("-L" : files)
|
||||||
return $ nub $ filter (not . framework) $ parseOtool s
|
return $ nub $ parseOtool s
|
||||||
where
|
|
||||||
framework f = ".framework" `isInfixOf` f
|
|
||||||
|
|
||||||
parseOtool :: String -> [FilePath]
|
parseOtool :: String -> [FilePath]
|
||||||
parseOtool = catMaybes . map parse . lines
|
parseOtool = catMaybes . map parse . lines
|
||||||
|
|
Loading…
Reference in a new issue