From 141d784ecffaf00f152f8a7c627e72f72d398f34 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Sat, 2 Apr 2022 21:06:47 +0200 Subject: [PATCH] build: Make use of variables in libxml's pkg-config file Instead of hardcoding make use of available variables and optimize usage --- libxml-2.0.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in index a10c86962..c3d931ec8 100644 --- a/libxml-2.0.pc.in +++ b/libxml-2.0.pc.in @@ -8,6 +8,6 @@ Name: libXML Version: @VERSION@ Description: libXML library version2. Requires: -Libs: -L${libdir} -lxml2 -Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @LIBM@ @WIN32_EXTRA_LIBADD@ @LIBS@ +Libs: -L${libdir} @XML_LIBS@ +Libs.private: @XML_PRIVATE_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@