summaryrefslogtreecommitdiffstats
path: root/package/expat
diff options
context:
space:
mode:
Diffstat (limited to 'package/expat')
-rw-r--r--package/expat/expat.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/expat/expat.mk b/package/expat/expat.mk
index 6aebaed40..2b10d0bdd 100644
--- a/package/expat/expat.mk
+++ b/package/expat/expat.mk
@@ -7,6 +7,7 @@
EXPAT_VERSION=2.0.0
EXPAT_SOURCE=expat-$(EXPAT_VERSION).tar.gz
+EXPAT_CAT:=$(ZCAT)
EXPAT_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/expat
EXPAT_DIR:=$(BUILD_DIR)/expat-$(EXPAT_VERSION)
@@ -16,7 +17,7 @@ $(DL_DIR)/$(EXPAT_SOURCE):
expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
$(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
- gunzip -c $(DL_DIR)/$(EXPAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(EXPAT_CAT) $(DL_DIR)/$(EXPAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(EXPAT_DIR)/.unpacked
$(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked