diff options
author | dholland <dholland> | 2017-05-16 13:51:50 +0000 |
---|---|---|
committer | dholland <dholland> | 2017-05-16 13:51:50 +0000 |
commit | 4b0828874b13eecbafb3927af05395a47c3e47d2 (patch) | |
tree | d764b9f6793e79269f2c74c385a330c2f02e0262 /textproc/py-libxslt | |
parent | fe01189aa033f298f37c3a6d8b0568934e67ab1d (diff) | |
download | pkgsrc-4b0828874b13eecbafb3927af05395a47c3e47d2.tar.gz |
Fix previous. Turns out we provided setup.py (!), but it had no rcsid
so I didn't notice.
Fix rpath handling. Needs to link to libxml2mod.so explicitly.
Diffstat (limited to 'textproc/py-libxslt')
-rwxr-xr-x | textproc/py-libxslt/files/setup.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/py-libxslt/files/setup.py b/textproc/py-libxslt/files/setup.py index 623b319ad9a..82f6a4cd861 100755 --- a/textproc/py-libxslt/files/setup.py +++ b/textproc/py-libxslt/files/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/python -u # -# $NetBSD: setup.py,v 1.3 2017/05/16 13:48:05 dholland Exp $ +# $NetBSD: setup.py,v 1.4 2017/05/16 13:51:51 dholland Exp $ # Setup script for libxslt # import sys, os @@ -54,7 +54,7 @@ if xml_includes == "": iconv_includes="@LIBICONVDIR@/include" # those are added in the linker search path for libraries -libdirs = ["@LIBXML2DIR@/lib"] +libdirs = ["@LIBXML2DIR@/lib", "@PYSHLIBDIR@"] xml_files = ["libxml2-api.xml", "libxml2-python-api.xml", "libxml.c", "libxml.py", "libxml_wrap.h", "types.c", @@ -133,7 +133,7 @@ descr = "libxml2 package" modules = [] c_files = [] includes= [xml_includes, iconv_includes] -libs = [] + platformLibs +libs = ["xml2mod"] + platformLibs macros = [] if with_threads: macros.append(('_REENTRANT','1')) @@ -162,7 +162,8 @@ if with_xslt == 1: extens=[] if with_xslt == 1: extens.append(Extension('libxsltmod', xslt_c_files, include_dirs=includes, - library_dirs=libdirs, + library_dirs=libdirs, + runtime_library_dirs=libdirs, libraries=libs, define_macros=macros)) if missing("MANIFEST"): |