1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

autotools: Don't use version script on Windows

A feature test would be better, but blacklisting Windows platforms seems
good enough for now.
This commit is contained in:
Nick Wellnhofer 2022-09-20 14:34:20 +02:00
parent 796c830a2f
commit e2bae1bc04

View File

@ -451,7 +451,13 @@ dnl
VERSION_SCRIPT_FLAGS=
# lt_cv_prog_gnu_ld is from libtool 2.+
if test "$lt_cv_prog_gnu_ld" = yes; then
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
case $host in
*-*-cygwin* | *-*-mingw* | *-*-msys* )
;;
*)
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
;;
esac
else
case $host in
*-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;