summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-10-21 15:39:42 +0000
committerBrian Paul <[email protected]>2005-10-21 15:39:42 +0000
commit32a7ab2197fc6df066b87940cc36cc537e44319c (patch)
treea5b0bebcfd716dd17eae357c94f12071959a83e3 /bin/mklib
parent54cfe69436c7b4749b01c5f8b74ba3d790ea2657 (diff)
Darwin version fix (SF bug 1334274)
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mklib b/bin/mklib
index 77698d36301..ce405d1c896 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -503,7 +503,7 @@ case $ARCH in
else
LIBNAME="lib${LIBNAME}.dylib"
echo "mklib: Making Darwin shared library: " ${LIBNAME}
- FLAGS="-dynamiclib -multiply_defined suppress"
+ FLAGS="-dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0"
if [ $CPLUSPLUS = 1 ] ; then
LINK="g++"
else