Skip to content

Commit 1749e15

Browse files
committed
fix test.c:1:10: fatal error: 'libxml2/libxml/xmlversion.h'
1 parent c319bec commit 1749e15

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 0ca2211639dcef90bdf463998d6124b1eff86e8e Mon Sep 17 00:00:00 2001
2+
From: qianlongxu <qianlongxu@gmail.com>
3+
Date: Fri, 6 Jun 2025 13:08:04 +0800
4+
Subject: [PATCH 17] fix test.c:1:10: fatal error: 'libxml2/libxml/xmlversion.h'
5+
file not found
6+
7+
---
8+
configure | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/configure b/configure
12+
index 15e6c32..3b25725 100755
13+
--- a/configure
14+
+++ b/configure
15+
@@ -6112,7 +6112,7 @@ enabled libzmq && require_pkg_config libzmq libzmq zmq.h zmq_ctx_new
16+
enabled libzvbi && require_pkg_config libzvbi zvbi-0.2 libzvbi.h vbi_decoder_new &&
17+
{ test_cpp_condition libzvbi.h "VBI_VERSION_MAJOR > 0 || VBI_VERSION_MINOR > 2 || VBI_VERSION_MINOR == 2 && VBI_VERSION_MICRO >= 28" ||
18+
enabled gpl || die "ERROR: libzvbi requires version 0.2.28 or --enable-gpl."; }
19+
-enabled libxml2 && require_pkg_config libxml2 libxml-2.0 libxml2/libxml/xmlversion.h xmlCheckVersion
20+
+enabled libxml2 && require_pkg_config libxml2 libxml-2.0 libxml/xmlversion.h xmlCheckVersion
21+
enabled mediacodec && { enabled jni || die "ERROR: mediacodec requires --enable-jni"; }
22+
enabled mmal && { check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||
23+
{ ! enabled cross_compile &&
24+
--
25+
2.39.5 (Apple Git-154)
26+

0 commit comments

Comments
 (0)