1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

607273 Fix python detection on MSys/Windows

Fix the lookup for python executable and headers, add an
extra variable for new dependancies when linking for Python
on Win32
This commit is contained in:
LRN
2010-11-04 15:45:46 +01:00
committed by Daniel Veillard
parent 60587d6ebd
commit fbd4ddf226
2 changed files with 32 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ python_LTLIBRARIES = libxml2mod.la
libxml2mod_la_SOURCES = $(srcdir)/libxml.c $(srcdir)/types.c
nodist_libxml2mod_la_SOURCES = libxml2-py.c
libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ @PYTHON_LIBS@
libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ @WIN32_EXTRA_PYTHON_LIBADD@ @PYTHON_LIBS@
$(srcdir)/libxml.c: libxml2-py.h # to generate before to compile