]> git.pld-linux.org Git - packages/libxml2.git/blame - libxml2-python-setup.patch
up to 2.12.1
[packages/libxml2.git] / libxml2-python-setup.patch
CommitLineData
39509623
JB
1--- libxml2-2.10.0/python/setup.py.in.orig 2022-05-02 14:10:21.000000000 +0200
2+++ libxml2-2.10.0/python/setup.py.in 2022-08-18 21:39:44.799159134 +0200
597ff28e
JP
3@@ -73,19 +73,10 @@
4 HOME
5 ];
39509623 6
597ff28e
JP
7-xml_includes=""
8-for dir in includes_dir:
9- if not missing(dir + "/libxml2/libxml/tree.h"):
10- xml_includes=dir + "/libxml2"
11- break;
12-
13-if xml_includes == "":
14- print("failed to find headers for libxml2: update includes_dir")
15- sys.exit(1)
16-
39509623
JB
17 # those are added in the linker search path for libraries
18 libdirs = [
19-os.path.join(ROOT,'lib'),
20+'@abs_top_builddir@/.libs',
21+'@libdir@',
22 ]
23
24 xml_files = ["libxml2-api.xml", "libxml2-python-api.xml",
597ff28e 25@@ -194,7 +185,7 @@
39509623
JB
26 if WITHDLLS:
27 modules.append('libxmlmods.__init__')
28 c_files = ['libxml2-py.c', 'libxml.c', 'types.c' ]
29-includes= [xml_includes]
30+includes= ['@abs_top_builddir@/include']
31 libs = [libraryPrefix + "xml2"] + platformLibs
32 macros = []
33 if with_threads:
This page took 0.264797 seconds and 4 git commands to generate.