summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2006-07-27 19:41:28 +0200
committerMike Hommey <glandium@debian.org>2006-07-27 19:41:28 +0200
commit696a915a0b4065d7604e865e06ec5eeaafa8e8ea (patch)
tree32efadc73d8d6f7ce50647922af759bd1bd7c4e4 /debian/rules
parentf1f81bc507f17ee81538eae01f5707e0fa0ec585 (diff)
downloadlibxml2-696a915a0b4065d7604e865e06ec5eeaafa8e8ea.tar.gz
* debian/rules, debian/libxml2-dev.install: Don't install libxml2.ladebian/2.6.26.dfsg-3
directly and sed it to remove the dependency_libs. Note that will break linking statically libxml2 with libtool, we recommend to use pkg-config --static --libs libxml-2.0 instead of relying on libtool. Closes: #379807, #378511. * xml2-config.in: Fixed usage alignment of the new option introduced in previous upload.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 666856e..0ceecc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -152,6 +152,7 @@ binary-arch: build install
dh_installman -a
dh_installchangelogs -plibxml2 ChangeLog
dh_install -a --sourcedir=debian/tmp
+ sed "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/libxml2.la > debian/libxml2-dev/usr/lib/libxml2.la
dh_pysupport -a
dh_python -a
dh_link -a