diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-06-22 16:16:49 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-06-22 16:16:49 +0100 |
commit | 9ffe7920db654eed38f8c0e7dbfbab7e92fa9396 (patch) | |
tree | f13b6bff08ddf404bf427e6bdff85cd6b3205a67 | |
parent | 3660ef9554de9953cb27d4e8dd007a3ab499abab (diff) | |
download | haskell-9ffe7920db654eed38f8c0e7dbfbab7e92fa9396.tar.gz |
On OS X, fix the path to the libffi dynlib; fixes #7833
-rw-r--r-- | rules/build-prog.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index cfaadaacd1..17d64da1c9 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -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 |