X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44af1866aa41cfbbad48583106cb82201ded4fcb..93f0b2377f4c571b41a02a4ea812d2e09985c796:/tools/lzma/Makefile

diff --git a/tools/lzma/Makefile b/tools/lzma/Makefile
index 47f21d1f0..f00863efa 100644
--- a/tools/lzma/Makefile
+++ b/tools/lzma/Makefile
@@ -21,7 +21,7 @@ LIB_DIR=$(PKG_BUILD_DIR)/C/7zip/Compress/LZMA_Lib
 ALONE_DIR=$(PKG_BUILD_DIR)/C/7zip/Compress/LZMA_Alone
 
 define Build/Prepare
-	bzcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/ $(TAR_OPTIONS) -
+	bzcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR)/ $(TAR_OPTIONS)
 	$(PATCH) $(PKG_BUILD_DIR) ./patches
 endef