diff options
-rw-r--r-- | Build/OSXMkLibs.hs | 4 |
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 |