mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-09 04:58:16 +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:
parent
796c830a2f
commit
e2bae1bc04
@ -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,";;
|
||||
|
Loading…
x
Reference in New Issue
Block a user