aboutsummaryrefslogtreecommitdiffstats
path: root/mk/macos.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 20:48:27 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 20:48:27 +0100
commit413a3bdf494a5404a31e0081876a075b437daf93 (patch)
tree4fb2d6699306b2b1719b03e67a38595ceafdfa76 /mk/macos.mk
parentFix linking for Windows (diff)
downloadlibar2simplified-413a3bdf494a5404a31e0081876a075b437daf93.tar.gz
libar2simplified-413a3bdf494a5404a31e0081876a075b437daf93.tar.bz2
libar2simplified-413a3bdf494a5404a31e0081876a075b437daf93.tar.xz
Fix linking for Mac OS
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/macos.mk')
-rw-r--r--mk/macos.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/macos.mk b/mk/macos.mk
index bd92de6..e8a198e 100644
--- a/mk/macos.mk
+++ b/mk/macos.mk
@@ -2,3 +2,5 @@ LIBEXT = dylib
LIBFLAGS = -dynamiclib
LIBMAJOREXT = $(LIB_MAJOR).$(LIBEXT)
LIBMINOREXT = $(LIB_VERSION).$(LIBEXT)
+
+FIX_INSTALL_NAME = install_name_tool -id "$(PREFIX)/lib/libar2simplified.$(LIBMAJOREXT)"