mklib: don't version symbols when using --exports

Use the default version instead of one based on the library SONAME
in the version script created by --exports.
This commit is contained in:
Julien Cristau
2008-07-13 17:13:32 +02:00
committed by Brian Paul
parent 2f5cd68797
commit 270b2a5c54

View File

@@ -246,7 +246,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