Skip to content

Commit 2b542ee

Browse files
committed
cmake: Always build Python module as shared library
1 parent 46a17a9 commit 2b542ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ if(LIBXML2_WITH_PYTHON)
554554
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in "${LIBXML2CLASS_PY}")
555555
configure_file(${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in libxml2.py COPYONLY)
556556
add_library(
557-
LibXml2Mod
557+
LibXml2Mod SHARED
558558
libxml2-py.c
559559
libxml2-py.h
560560
python/libxml.c

0 commit comments

Comments
 (0)