1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

autoconf: Include non-pkg-config dependency flags in the pkg-config file

These were present before, but I accidentally dropped them in my recent
build improvements.
This commit is contained in:
James Le Cuirot 2023-09-04 09:30:38 +01:00
parent 6864d92f6c
commit 5a18c505a7
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -1165,8 +1165,10 @@ fi
XML_LIBS="-lxml2"
XML_LIBTOOLLIBS="libxml2.la"
XML_PRIVATE_LIBS="${XML_PRIVATE_LIBS} $THREAD_LIBS $ICONV_LIBS $LIBM $NET_LIBS"
XML_PRIVATE_CFLAGS="${XML_PRIVATE_CFLAGS} $THREAD_CFLAGS $ICONV_CFLAGS"
NON_PC_LIBS="${THREAD_LIBS} ${ICONV_LIBS} ${LIBM} ${NET_LIBS}"
XML_PC_LIBS="${XML_PC_LIBS} ${NON_PC_LIBS}"
XML_PRIVATE_LIBS="${XML_PRIVATE_LIBS} ${NON_PC_LIBS}"
XML_PRIVATE_CFLAGS="${XML_PRIVATE_CFLAGS} ${THREAD_CFLAGS} ${ICONV_CFLAGS}"
dnl When static-only:
dnl * Duplicate xml-config static --libs into --dynamic.