diff options
Diffstat (limited to 'include/host.mk')
-rw-r--r-- | include/host.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/host.mk b/include/host.mk index 11522184b7..6c0dcd6699 100644 --- a/include/host.mk +++ b/include/host.mk @@ -28,5 +28,8 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk if $$TAR --version 2>&1 | grep 'GNU' >/dev/null; then \ echo "TAR_WILDCARDS:=--wildcards" >> $@; \ fi; \ + ZCAT=`which gzcat`; \ + [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \ + echo "ZCAT:=$$ZCAT" >> $@; \ ) |