File: python-libadd-fix.patch

package info (click to toggle)
libxml2 2.14.5%2Bdfsg-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,708 kB
  • sloc: ansic: 143,045; xml: 18,209; python: 8,648; sh: 4,736; makefile: 857; javascript: 605
file content (17 lines) | stat: -rw-r--r-- 703 bytes parent folder | download
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