summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/dependencies/libart-lgpl/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/dependencies/libart-lgpl/debian/rules')
-rwxr-xr-xubuntu/precise/dependencies/libart-lgpl/debian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/ubuntu/precise/dependencies/libart-lgpl/debian/rules b/ubuntu/precise/dependencies/libart-lgpl/debian/rules
index 4390434f7..2751eb1f2 100755
--- a/ubuntu/precise/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/precise/dependencies/libart-lgpl/debian/rules
@@ -20,3 +20,5 @@ GNOME_MODULE := libart_lgpl
DEB_DH_MAKESHLIBS_ARGS_$(libart-2.0-N) += -V '$(libart-2.0-N)(>= 2.3.18)'
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)