Skip to content

Commit 3b3d849

Browse files
committed
CryCommit2.0
1 parent 14be12a commit 3b3d849

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

depends/common/libxml2/0004-fix_cmakelist.patch

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
From 1251d3580a03cd1cdff0ede3c001c65f5fec0de7 Mon Sep 17 00:00:00 2001
2+
From: Alwin Esch <[email protected]>
3+
Date: Sun, 24 Mar 2024 19:21:13 +0100
4+
Subject: [PATCH 3/3] fix_cmakelist
5+
6+
---
7+
CMakeLists.txt | 42 ++++++++++++++++--------------------------
8+
libxml-2.0.pc.in | 2 ++
9+
2 files changed, 18 insertions(+), 26 deletions(-)
10+
11+
diff --git a/CMakeLists.txt b/CMakeLists.txt
12+
index 85bcab3..4b7b712 100644
113
--- a/CMakeLists.txt
214
+++ b/CMakeLists.txt
315
@@ -390,9 +390,9 @@ endif()
@@ -105,15 +117,16 @@
105117
if(BUILD_SHARED_LIBS)
106118
set(XML_PC_PRIVATE ".private")
107119
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
108-
index 6d7b62f..2356b12 100644
120+
index 6d7b62f..5738e40 100644
109121
--- a/libxml-2.0.pc.in
110122
+++ b/libxml-2.0.pc.in
111-
@@ -8,5 +8,6 @@ Name: libXML
123+
@@ -8,5 +8,7 @@ Name: libXML
112124
Version: @VERSION@
113125
Description: libXML library version2.
114126
Requires@XML_PC_PRIVATE@: @XML_PC_REQUIRES@
115-
+Requires.private: @ICU_LIBS@ @Z_LIBS@ @LZMA_LIBS@
127+
+Requires.private: @ICU_LDFLAGS@ @ZLIB_LDFLAGS@ @LZMA_LDFLAGS@
116128
Libs: -L${libdir} @XML_LIBS@ @XML_PC_LIBS_PRIVATE@ @XML_PC_LIBS@ @LIBS@
129+
+Libs.private: @THREAD_LIBS@ @ICONV_LIBS@ @LIBM@ @WIN32_EXTRA_LIBADD@ @LIBS@
117130
Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@
118131
--
119132
2.44.0.windows.1

0 commit comments

Comments
 (0)