diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2009-09-24 18:16:07 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-09-24 18:16:07 +0200 |
commit | a1981a0da0201b8da3713aafc1c0656be26e21f0 (patch) | |
tree | b559c8d7e85f7d1c9fa860f8930734110cb520ef /configure.in | |
parent | 2818aec36119907206bab050811e4ec8347ffa40 (diff) | |
download | libxslt-a1981a0da0201b8da3713aafc1c0656be26e21f0.tar.gz libxslt-a1981a0da0201b8da3713aafc1c0656be26e21f0.tar.bz2 libxslt-a1981a0da0201b8da3713aafc1c0656be26e21f0.zip |
link python module with python library
libxslt python module wasn't linked with python library
* configure.in python/Makefile.am: detect and add appropriate linking
flags
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 756003d3..7fef7a2f 100644 --- a/configure.in +++ b/configure.in @@ -341,6 +341,7 @@ except: print 0"` PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` fi fi + PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` fi if test "$with_python" != "" then @@ -358,6 +359,7 @@ else fi AC_SUBST(pythondir) AC_SUBST(PYTHON_SUBDIR) +AC_SUBST(PYTHON_LIBS) AC_ARG_WITH(crypto, [ --with-crypto Add crypto support to exslt (on)]) WITH_CRYPTO=0 |