From bda62bccc3f99a41c830a00114d255473e8da5a8 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sat, 19 Feb 2022 22:46:57 +0800 Subject: Set install name for installed library --- macos.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'macos.mk') diff --git a/macos.mk b/macos.mk index 58afc20..83b6515 100644 --- a/macos.mk +++ b/macos.mk @@ -1,6 +1,7 @@ LIBEXT = dylib -LIBFLAGS = -dynamiclib -Wl,-install_name,"$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" \ - -Wl,-compatibility_version,$(LIB_MAJOR) -Wl,-current_version,$(LIB_VERSION) +LIBFLAGS = -dynamiclib -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)" "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)" -- cgit v1.2.3-70-g09d2