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:
parent
2f5cd68797
commit
270b2a5c54
|
@ -246,7 +246,7 @@ case $ARCH in
|
||||||
if [ $EXPORTS ] ; then
|
if [ $EXPORTS ] ; then
|
||||||
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
||||||
# Make the 'exptmp' file for --version-script option
|
# Make the 'exptmp' file for --version-script option
|
||||||
echo "VERSION_${MAJOR}.${MINOR} {" > exptmp
|
echo "{" > exptmp
|
||||||
echo "global:" >> exptmp
|
echo "global:" >> exptmp
|
||||||
sed 's/$/;/' ${EXPORTS} >> exptmp
|
sed 's/$/;/' ${EXPORTS} >> exptmp
|
||||||
echo "local:" >> exptmp
|
echo "local:" >> exptmp
|
||||||
|
|
Loading…
Reference in New Issue