Skip to content

Commit

Permalink
On OS X, fix the path to the libffi dynlib; fixes #7833
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Lynagh committed Jun 22, 2013
1 parent 3660ef9 commit 9ffe792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/build-prog.mk
Expand Up @@ -270,6 +270,7 @@ endif
# Use relative paths for the RTS. Rather than try to work out which RTS
# way is being linked, we just change it for all ways
install_name_tool $$(foreach w,$$(rts_WAYS), -change $$(TOP)/$$(rts_$$w_LIB) @loader_path/../rts-$$(rts_VERSION)/$$(rts_$$w_LIB_NAME)) $$@
install_name_tool -change $$(TOP)/$$(wildcard libffi/build/inst/lib/libffi.*.dylib) @loader_path/../rts-$$(rts_VERSION)/libffi.dylib $$@
endif
endif
endif
Expand Down

0 comments on commit 9ffe792

Please sign in to comment.