Darwin version fix (SF bug 1334274)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Oct 2005 15:39:42 +0000 (15:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Oct 2005 15:39:42 +0000 (15:39 +0000)
bin/mklib

index 77698d363019d27c8edaab89b47bba8dc384069b..ce405d1c8962c8eab11c588608fbccd49a8143be 100755 (executable)
--- 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