mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
cmake: Always build Python module as shared library
This commit is contained in:
parent
7ca75b321f
commit
92204112ec
@ -537,7 +537,7 @@ if(LIBXML2_WITH_PYTHON)
|
|||||||
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in "${LIBXML2CLASS_PY}")
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in "${LIBXML2CLASS_PY}")
|
||||||
configure_file(${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in libxml2.py COPYONLY)
|
configure_file(${CMAKE_CURRENT_BINARY_DIR}/libxml2.py.in libxml2.py COPYONLY)
|
||||||
add_library(
|
add_library(
|
||||||
LibXml2Mod
|
LibXml2Mod SHARED
|
||||||
libxml2-py.c
|
libxml2-py.c
|
||||||
libxml2-py.h
|
libxml2-py.h
|
||||||
python/libxml.c
|
python/libxml.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user