Skip to content

Commit 5d155df

Browse files
committed
fix android ffmpeg7 test.c:1:10: fatal error: 'libxml2/libxml/xmlversion.h'
1 parent 1a4f606 commit 5d155df

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 9c71daf077d488023f72d1d27eb1283bfecce00f Mon Sep 17 00:00:00 2001
2+
From: qianlongxu <qianlongxu@gmail.com>
3+
Date: Fri, 6 Jun 2025 14:09:50 +0800
4+
Subject: [PATCH] fix android ffmpeg7 test.c:1:10: fatal error:
5+
'libxml2/libxml/xmlversion.h'
6+
7+
---
8+
configure | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/configure b/configure
12+
index f74d4de..7daa9ff 100755
13+
--- a/configure
14+
+++ b/configure
15+
@@ -7063,7 +7063,7 @@ enabled libzmq && require_pkg_config libzmq "libzmq >= 4.2.1" zmq.h z
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 mbedtls && { check_pkg_config mbedtls mbedtls mbedtls/x509_crt.h mbedtls_x509_crt_init ||
22+
check_pkg_config mbedtls mbedtls mbedtls/ssl.h mbedtls_ssl_init ||
23+
check_lib mbedtls mbedtls/ssl.h mbedtls_ssl_init -lmbedtls -lmbedx509 -lmbedcrypto ||
24+
--
25+
2.39.5 (Apple Git-154)
26+

0 commit comments

Comments
 (0)