From 9ffe7920db654eed38f8c0e7dbfbab7e92fa9396 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 22 Jun 2013 16:16:49 +0100 Subject: On OS X, fix the path to the libffi dynlib; fixes #7833 --- rules/build-prog.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'rules/build-prog.mk') 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 -- cgit v1.2.1