summaryrefslogtreecommitdiffhomepage
path: root/patches/libxml2-2.12.6_pre.local.patch
blob: 9dec6353c6a25d38cca8467e45b07f1478c752e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -ru libxml2-2.12.6.orig/configure libxml2-2.12.6/configure
--- libxml2-2.12.6.orig/configure	2024-03-15 12:16:45.000000000 +0100
+++ libxml2-2.12.6/configure	2024-03-18 12:11:55.597105358 +0100
@@ -15849,7 +15849,7 @@
   ac_status=$?
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
+  pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags-only-other "zlib" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -15866,7 +15866,7 @@
   ac_status=$?
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_Z_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
+  pkg_cv_Z_LIBS=`$PKG_CONFIG --libs-only-l "zlib" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -16013,7 +16013,7 @@
   ac_status=$?
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null`
+  pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags-only-other "liblzma" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -16030,7 +16030,7 @@
   ac_status=$?
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null`
+  pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs-only-l "liblzma" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes