aboutsummaryrefslogtreecommitdiffstats
path: root/macos.mk
diff options
context:
space:
mode:
Diffstat (limited to 'macos.mk')
-rw-r--r--macos.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/macos.mk b/macos.mk
index 25c308b..58afc20 100644
--- a/macos.mk
+++ b/macos.mk
@@ -1,7 +1,6 @@
LIBEXT = dylib
-LIBFLAGS = -dynamiclib -Wl,-compatibility_version,$(LIB_MAJOR) -Wl,-current_version,$(LIB_VERSION)
+LIBFLAGS = -dynamiclib -Wl,-install_name,"$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" \
+ -Wl,-compatibility_version,$(LIB_MAJOR) -Wl,-current_version,$(LIB_VERSION)
LIBMAJOREXT = $(LIB_MAJOR).$(LIBEXT)
LIBMINOREXT = $(LIB_VERSION).$(LIBEXT)
-
-FIX_INSTALL_NAME = install_name_tool -id "$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" "libkeccak.$(LIBEXT)"