summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <v@njh.eu>2015-06-29 10:45:34 (GMT)
committerVolker Grabsch <v@njh.eu>2015-06-29 10:46:15 (GMT)
commit34f6fac9a55d4b2b3648e864a19839ca75c74e5e (patch)
treeebb2cc44c887e009c480f11f9d687c64d56b0d15 /Makefile
parent3559d54844398c7630ed74ece055a9e2b4ec3626 (diff)
downloadmxe-34f6fac9a55d4b2b3648e864a19839ca75c74e5e.zip
mxe-34f6fac9a55d4b2b3648e864a19839ca75c74e5e.tar.gz
mxe-34f6fac9a55d4b2b3648e864a19839ca75c74e5e.tar.bz2
Use command "7za" instead of "7z"
The "7za" command is available on more Unix systems.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bda6b94..7fedf9a 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ WGET := wget --no-check-certificate \
REQUIREMENTS := autoconf automake autopoint bash bison bzip2 cmake flex \
gcc g++ gperf intltoolize $(LIBTOOL) $(LIBTOOLIZE) \
$(MAKE) openssl $(PATCH) $(PERL) python ruby scons \
- $(SED) $(SORT) unzip wget xz 7z
+ $(SED) $(SORT) unzip wget xz 7za
PREFIX := $(PWD)/usr
LOG_DIR := $(PWD)/log
@@ -138,7 +138,7 @@ UNPACK_ARCHIVE = \
$(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \
$(if $(filter %.txz, $(1)),xz -dc '$(1)' | tar xf -, \
$(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \
- $(if $(filter %.7z, $(1)),7z x '$(1)', \
+ $(if $(filter %.7z, $(1)),7za x '$(1)', \
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
$(error Unknown archive format: $(1)))))))))))