Added support for LZMA SDK 4.57. Compiles, but pretty much untested.
This commit is contained in:
@@ -107,7 +107,7 @@ $c += -O1 -1
|
||||
$c += -w
|
||||
$c += -D__INT_MAX__=32767
|
||||
$c += -DWITH_LZMA=$(UPX_LZMA_VERSION)
|
||||
ifeq ($(UPX_LZMA_VERSION),0x449)
|
||||
ifneq ($(findstring .$(UPX_LZMA_VERSION).,.0x449.0x457.),)
|
||||
$c += -I$(subst \,/,$(call winedir_w,$(UPX_LZMADIR)/C/Compress/Lzma))
|
||||
else
|
||||
$c += -I$(subst \,/,$(call winedir_w,$(UPX_LZMADIR)/C/7zip/Compress/LZMA_C))
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# you should set envvar UPX_LZMADIR to point to your unpacked LZMA SDK lzma443.tar.bz2
|
||||
# NOTE: only version 4.43 is currently sufficiently tested !
|
||||
|
||||
ifneq ($(wildcard $(UPX_LZMADIR)/CPP/7zip/.),)
|
||||
ifneq ($(wildcard $(UPX_LZMADIR)/C/CpuArch.h),)
|
||||
UPX_LZMA_VERSION = 0x457
|
||||
else ifneq ($(wildcard $(UPX_LZMADIR)/CPP/7zip/.),)
|
||||
UPX_LZMA_VERSION = 0x449
|
||||
else ifneq ($(wildcard $(UPX_LZMADIR)/C/7zip/.),)
|
||||
UPX_LZMA_VERSION = 0x443
|
||||
|
||||
Reference in New Issue
Block a user