summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2012-06-03 17:56:38 +0800
committerAron Xu <aron@debian.org>2012-06-03 17:56:38 +0800
commit69ec6d32a9718d4a44d9bc15ff62f2bfbda9d14b (patch)
tree405781d12c26c9aeb52f3ff5e5720303361b96ac /debian
parent4640c7173464f0dd85bb0c7d928614acab71019c (diff)
downloadlibxml2-69ec6d32a9718d4a44d9bc15ff62f2bfbda9d14b.tar.gz
Remove useless linking commands (Closes: #675682)
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0002-remove-useless-linking-commands.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0002-remove-useless-linking-commands.patch b/debian/patches/0002-remove-useless-linking-commands.patch
new file mode 100644
index 0000000..afc02e6
--- /dev/null
+++ b/debian/patches/0002-remove-useless-linking-commands.patch
@@ -0,0 +1,22 @@
+From: Aron Xu <aron@debian.org>
+Date: Sun, 3 Jun 2012 17:54:56 +0800
+Subject: [PATCH] remove useless linking commands
+
+---
+ configure.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 0fb4983..e0fec4c 100644
+--- a/configure.in
++++ b/configure.in
+@@ -1360,7 +1360,7 @@ case "$host" in
+ *) M_LIBS="-lm"
+ ;;
+ esac
+-XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
++XML_LIBS="-lxml2"
+ XML_LIBTOOLLIBS="libxml2.la"
+ AC_SUBST(WITH_ICONV)
+
+--
diff --git a/debian/patches/series b/debian/patches/series
index b9d9f1e..94f46b9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-restore-generated-html.patch
+0002-remove-useless-linking-commands.patch