summaryrefslogtreecommitdiff
path: root/dpkg-deb/main.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-05-18 04:19:49 +0200
committerGuillem Jover <guillem@debian.org>2013-07-18 01:41:39 +0200
commit68a1f4682bb8876168168770a200aaf389b562a7 (patch)
tree118d239eed962aeb6739b247d95cf41af6c00443 /dpkg-deb/main.c
parent2cac2b9c2c004f7ddf92fd5b39d51022a308b4d6 (diff)
downloaddpkg-68a1f4682bb8876168168770a200aaf389b562a7.tar.gz
build: Allow changing the default dpkg-deb compressor on configure
This will allow downstreams to choose something better than gzip as their default compressor, for example xz. Or when xz becomes the default to revert back to something else.
Diffstat (limited to 'dpkg-deb/main.c')
-rw-r--r--dpkg-deb/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index cac983453..9c5bf8bdb 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -180,7 +180,7 @@ set_deb_new(const struct cmdinfo *cip, const char *value)
}
struct compress_params compress_params = {
- .type = compressor_type_gzip,
+ .type = DPKG_DEB_DEFAULT_COMPRESSOR,
.strategy = compressor_strategy_none,
.level = -1,
};