File: python-libadd-fix.patch

package info (click to toggle)
libxml2 2.15.0%2Bdfsg-0.3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 9,852 kB
  • sloc: ansic: 138,100; python: 6,692; sh: 4,736; xml: 1,476; makefile: 694
file content (17 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: link libxml2.la with the python module explictly
Author: Aron Xu <aron@debian.org>
Last-Update: 2024-03-18
Bug-Debian: https://bugs.debian.org/1059094

--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -23,7 +23,8 @@ pyexec_LTLIBRARIES = libxml2mod.la
 
 libxml2mod_la_SOURCES = libxml.c libxml_wrap.h types.c
 nodist_libxml2mod_la_SOURCES = libxml2-py.h libxml2-py.c
-libxml2mod_la_LDFLAGS = $(AM_LDFLAGS) $(PYTHON_LDFLAGS) -module -avoid-version
+libxml2mod_la_LDFLAGS = $(AM_LDFLAGS) $(PYTHON_LDFLAGS) -module -avoid-version \
+	$(top_builddir)/libxml2.la
 libxml2mod_la_LIBADD = $(top_builddir)/libxml2.la $(PYTHON_LIBS)
 
 BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c