aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 11:06:45 +0100
committerGitHub <noreply@github.com>2022-02-19 11:06:45 +0100
commit59abac21d39f7a49783fe37973a557f2f29d329f (patch)
tree4163ee44f80f935041562ff6e31312549e0c0f76
parentFix blksize adjustment when exceeding alloca limit in libkeccak_generalised_sum_fd (diff)
parentImplement library versioning for macOS (diff)
downloadlibkeccak-59abac21d39f7a49783fe37973a557f2f29d329f.tar.gz
libkeccak-59abac21d39f7a49783fe37973a557f2f29d329f.tar.bz2
libkeccak-59abac21d39f7a49783fe37973a557f2f29d329f.tar.xz
Merge pull request #15 from carlocab/macos-library-versioning
Implement library versioning for macOS
-rw-r--r--macos.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/macos.mk b/macos.mk
index b475197..c7e7c28 100644
--- a/macos.mk
+++ b/macos.mk
@@ -1,5 +1,5 @@
LIBEXT = dylib
-LIBFLAGS = -dynamiclib
+LIBFLAGS = -dynamiclib -Wl,-compatibility_version,$(LIB_MAJOR) -Wl,-current_version,$(LIB_VERSION)
LIBMAJOREXT = $(LIB_MAJOR).$(LIBEXT)
LIBMINOREXT = $(LIB_VERSION).$(LIBEXT)