diff options
author | Volker Grabsch <v@njh.eu> | 2015-06-29 10:45:34 (GMT) |
---|---|---|
committer | Volker Grabsch <v@njh.eu> | 2015-06-29 10:46:15 (GMT) |
commit | 34f6fac9a55d4b2b3648e864a19839ca75c74e5e (patch) | |
tree | ebb2cc44c887e009c480f11f9d687c64d56b0d15 /Makefile | |
parent | 3559d54844398c7630ed74ece055a9e2b4ec3626 (diff) | |
download | mxe-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))))))))))) |