Skip to content
Snippets Groups Projects
Commit c7b3f30f9f45 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

python: Create .pyd on Windows

parent 075aa89c6c1e
No related branches found
No related tags found
No related merge requests found
......@@ -404,6 +404,9 @@
PREFIX lib
VERSION ${PROJECT_VERSION}
)
if (WIN32)
set_target_properties(LibXsltMod PROPERTIES SUFFIX ".pyd")
endif()
install(
TARGETS LibXsltMod
ARCHIVE DESTINATION ${LIBXSLT_PYTHON_INSTALL_DIR} COMPONENT development
......
......@@ -188,7 +188,7 @@
PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-msys* )
PYTHON_LDFLAGS="-no-undefined"
PYTHON_LDFLAGS="-no-undefined -shrext .pyd"
;;
esac
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment