summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Rts.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Rules/Rts.hs')
-rw-r--r--hadrian/src/Rules/Rts.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Rts.hs b/hadrian/src/Rules/Rts.hs
index c9669f520d..64864eee82 100644
--- a/hadrian/src/Rules/Rts.hs
+++ b/hadrian/src/Rules/Rts.hs
@@ -83,8 +83,7 @@ copyLibffiDynamicUnix stage libSuf target = do
copyFile' versionlessSourceFilePath target
-- On OSX the dylib's id must be updated to a relative path.
- osx <- osxHost
- when osx $ cmd
+ when osxHost $ cmd
[ "install_name_tool"
, "-id", "@rpath/" ++ takeFileName target
, target