aboutsummaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbase/new-c-proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/new-c-proj b/base/new-c-proj
index 48dc599..982144f 100755
--- a/base/new-c-proj
+++ b/base/new-c-proj
@@ -145,7 +145,7 @@ if printf '%s\n' "$1" | grep '^lib' >/dev/null 2>/dev/null; then
cat <<-EOF | sed 's/x\t/\t/g' > mk/macos.mk
LIBEXT = dylib
- LIBFLAGS = -dynamiclib
+ LIBFLAGS = -dynamiclib -Wl,-compatibility_version,\$(LIB_MAJOR) -Wl,-current_version,\$(LIB_VERSION)
LIBMAJOREXT = \$(LIB_MAJOR).\$(LIBEXT)
LIBMINOREXT = \$(LIB_VERSION).\$(LIBEXT)
EOF