mklib: don't version symbols when using --exports
authorJulien Cristau <jcristau@debian.org>
Sun, 13 Jul 2008 15:13:32 +0000 (17:13 +0200)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Jul 2008 14:37:38 +0000 (08:37 -0600)
Use the default version instead of one based on the library SONAME
in the version script created by --exports.

bin/mklib

index 0dc3135d50f89270834b5b6a1d86be0c1e2c2f39..69e82420a11521a850a9daa8cf12024d306b33e5 100755 (executable)
--- a/bin/mklib
+++ b/bin/mklib
@@ -271,7 +271,7 @@ case $ARCH in
            if [ $EXPORTS ] ; then
                #OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
                # Make the 'exptmp' file for --version-script option
-               echo "VERSION_${MAJOR}.${MINOR} {" > exptmp
+               echo "{" > exptmp
                echo "global:" >> exptmp
                sed 's/$/;/' ${EXPORTS} >> exptmp
                echo "local:" >> exptmp