summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-09 12:14:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-09 12:14:19 -0400
commitac66b7f6542b37ca1a7eab817a430c3db4235a1a (patch)
tree9897745d2d7a83b9c78303b3bfd31bc454c1f019 /Build
parenta5bade020352889fd8e0bf378f5fc0ccb52dcbc1 (diff)
fix infinite loop
Diffstat (limited to 'Build')
-rw-r--r--Build/OSXMkLibs.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index f320ff585..a0df54a1b 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -65,7 +65,7 @@ otool appbase libmap = do
libs <- filter unprocessed . parseOtool
<$> readProcess "otool" ["-L", file]
m' <- install_name_tool file libs m
- process (libs:c) (file:rest) m'
+ process (libs:c) rest m'
parseOtool :: String -> [FilePath]
parseOtool = catMaybes . map parse . lines