fix library filenames in osx app

This commit is contained in:
Joey Hess 2012-12-08 17:14:45 -04:00
parent 6473f8ea33
commit 56b3dbe544

View file

@ -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 $