aboutsummaryrefslogtreecommitdiffstats
path: root/macos.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-04-22 21:10:14 +0200
committerMattias Andrée <maandree@kth.se>2022-04-22 21:10:14 +0200
commitf92faa3b7ef11151fa61bc45749f2bb45fa95a9c (patch)
tree172062cc65ec62e0375a33a8045d8c5695f3a6c7 /macos.mk
parentFix typo (diff)
downloadlibaxl-f92faa3b7ef11151fa61bc45749f2bb45fa95a9c.tar.gz
libaxl-f92faa3b7ef11151fa61bc45749f2bb45fa95a9c.tar.bz2
libaxl-f92faa3b7ef11151fa61bc45749f2bb45fa95a9c.tar.xz
Housekeeping and documentation
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--macos.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/macos.mk b/macos.mk
index b475197..1d958af 100644
--- a/macos.mk
+++ b/macos.mk
@@ -1,5 +1,7 @@
LIBEXT = dylib
-LIBFLAGS = -dynamiclib
+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/libaxl.$(LIBMAJOREXT)"