[libxml2] build: Make use of variables in libxml's pkg-config file



commit 141d784ecffaf00f152f8a7c627e72f72d398f34
Author: Daniel Engberg <daniel engberg lists pyret net>
Date:   Sat Apr 2 21:06:47 2022 +0200

    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 a10c8696..c3d931ec 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@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]