[libxml2] autotools: Don't use version script on Windows
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] autotools: Don't use version script on Windows
- Date: Tue, 20 Sep 2022 13:08:16 +0000 (UTC)
commit e2bae1bc049f7ffac9c35eefa33f8a00d4032170
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Tue Sep 20 14:34:20 2022 +0200
autotools: Don't use version script on Windows
A feature test would be better, but blacklisting Windows platforms seems
good enough for now.
configure.ac | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index b6255f91..13f7a1e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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,";;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]