d/rules: workaround debhelper bug #886037 by reshuffling the dh_strip calls

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent ae265648
......@@ -107,14 +107,14 @@ endif
sed -i -e 's,/lib/$(DEB_HOST_MULTIARCH),/lib,' debian/libxml2-dev/usr/bin/xml2-config
override_dh_strip:
dh_strip -a --dbg-package=libxml2-dbg -Nlibxml2-utils -Npython-libxml2 -Npython-libxml2-dbg -Npython3-libxml2 -Npython3-libxml2-dbg
dh_strip -plibxml2 -plibxml2-dev --dbg-package=libxml2-dbg
dh_strip -plibxml2-utils
ifneq (,$(filter python-libxml2 python-libxml2-dbg,$(DOPACKAGES)))
dh_strip -ppython-libxml2 --dbg-package=python-libxml2-dbg
endif
ifneq (,$(filter python3-libxml2 python3-libxml2-dbg,$(DOPACKAGES)))
dh_strip -ppython3-libxml2 --dbg-package=python3-libxml2-dbg
endif
dh_strip --remaining-packages -Npython-libxml2-dbg -Npython3-libxml2-dbg
override_dh_makeshlibs:
dh_makeshlibs -a -V 'libxml2 (>= 2.7.4)' -- -c4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment