Skip to content

Commit d6146d3

Browse files
committed
libxml2: Remove library prefix
1 parent c3e0816 commit d6146d3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

patches/libxml2-windows-icu.patch

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index f15095ff..9c760806 100644
2+
index 327c2a42..26ccfabf 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -362,7 +362,7 @@ endif()
@@ -11,6 +11,14 @@ index f15095ff..9c760806 100644
1111
list(APPEND XML_PRIVATE_LIBS "${ICU_LDFLAGS}")
1212
pkg_check_modules(ICU_PC IMPORTED_TARGET icu-uc)
1313
if(ICU_PC_FOUND)
14+
@@ -416,7 +416,6 @@ set_target_properties(
15+
IMPORT_PREFIX lib
16+
OUTPUT_NAME xml2
17+
POSITION_INDEPENDENT_CODE ON
18+
- PREFIX lib
19+
VERSION ${PROJECT_VERSION}
20+
SOVERSION ${LIBXML_SOVERSION}
21+
)
1422
diff --git a/encoding.c b/encoding.c
1523
index a90694f5..a0b9a9c1 100644
1624
--- a/encoding.c

0 commit comments

Comments
 (0)