diff options
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 |