libs/libxslt 1.1.26
[git/cygwin-packages/libxslt.git] / 1.1.26-no-undefined.patch
1 --- origsrc/libxslt-1.1.26/configure.in 2009-09-24 09:27:30.000000000 -0500
2 +++ src/libxslt-1.1.26/configure.in 2009-12-19 23:18:57.134830100 -0600
3 @@ -625,6 +625,10 @@ WIN32_EXTRA_LDFLAGS=
4 case "$host" in
5 *-*-cygwin*)
6 WIN32_EXTRA_LDFLAGS="-no-undefined"
7 + if test -n "${PYTHON}"
8 + then
9 + CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
10 + fi
11 ;;
12 *-*-mingw*)
13 WIN32_EXTRA_LIBADD="-lwsock32"
14 @@ -636,6 +640,7 @@ case "$host" in
15 esac
16 AC_SUBST(WIN32_EXTRA_LIBADD)
17 AC_SUBST(WIN32_EXTRA_LDFLAGS)
18 +AC_SUBST(CYGWIN_EXTRA_PYTHON_LIBADD)
19
20
21 AC_SUBST(XSLTPROCDV)
22 --- origsrc/libxslt-1.1.26/python/Makefile.am 2009-12-19 22:22:05.066671000 -0600
23 +++ src/libxslt-1.1.26/python/Makefile.am 2009-12-19 22:30:48.333600200 -0600
24 @@ -29,7 +29,8 @@ libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_L
25 if WITH_PYTHON
26 mylibs = \
27 $(top_builddir)/libxslt/libxslt.la \
28 - $(top_builddir)/libexslt/libexslt.la
29 + $(top_builddir)/libexslt/libexslt.la \
30 + $(CYGWIN_EXTRA_PYTHON_LIBADD)
31
32 all-local: libxslt.py
33
This page took 0.033796 seconds and 5 git commands to generate.