summaryrefslogtreecommitdiff
path: root/Build/OSXMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-08 17:14:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-08 17:14:45 -0400
commitbd94ced9e9d8ff1f4ef78d56f51d5c1b1694d5a0 (patch)
treeb8a0089c34648ccf21457d879e29d86cd5be5d5d /Build/OSXMkLibs.hs
parentb6b10e0c6845f6c06d9f89f3d0d44e83b04d3e5f (diff)
fix library filenames in osx app
Diffstat (limited to 'Build/OSXMkLibs.hs')
-rw-r--r--Build/OSXMkLibs.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index efe0cc1dd..ef5ef0a84 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -77,7 +77,7 @@ install_name_tool binary lib = do
ok <- boolSystem "install_name_tool"
[ Param "-change"
, File lib
- , Param $ "@executable_path" ++ (dropFileName lib)
+ , Param $ "@executable_path" ++ (takeFileName lib)
, File binary
]
unless ok $