[libxml2] configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set
- Date: Mon, 4 Apr 2022 02:43:05 +0000 (UTC)
commit f60e2193252507f1d873458e4e7c27316bf2b92a
Author: Christopher Degawa <ccom randomderp com>
Date: Sun Apr 3 21:24:21 2022 -0500
configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set
currently the pkg-config file lacks -lws2_32 because WIN32_EXTRA_LIBADD
isn't set by the time XML_PRIVATE_LIBS is set
Signed-off-by: Christopher Degawa <ccom randomderp com>
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index d029dccc..3d36ea55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1267,7 +1267,6 @@ else
fi
fi
XML_LIBS="-lxml2"
-XML_PRIVATE_LIBS="$Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $LIBM $WIN32_EXTRA_LIBADD"
XML_LIBTOOLLIBS="libxml2.la"
AC_SUBST(WITH_ICU)
@@ -1369,6 +1368,9 @@ case "$host" in
fi
;;
esac
+
+XML_PRIVATE_LIBS="$Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $LIBM $WIN32_EXTRA_LIBADD"
+
AC_SUBST(WIN32_EXTRA_LIBADD)
AC_SUBST(WIN32_EXTRA_LDFLAGS)
AC_SUBST(WIN32_EXTRA_PYTHON_LIBADD)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]