summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Cristau <[email protected]>2008-07-13 17:13:32 +0200
committerBrian Paul <[email protected]>2008-07-14 08:41:54 -0600
commit270b2a5c54c581019af5abd1fce966c1148cc168 (patch)
treefa35df0faddbd6d35eeea31219bf334a2e6b58b6
parent2f5cd68797ee4a159fa0a5fc4d315e4d3f2f644e (diff)
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.
-rwxr-xr-xbin/mklib2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mklib b/bin/mklib
index e17e2fee0b1..031e049c615 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -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