mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
make: adjust for new vendor/lzma-sdk location
This commit is contained in:
parent
61e1366122
commit
3c47898cf4
|
@ -11,6 +11,7 @@ find . \
|
|||
-type d -name '.hg' -prune -o \
|
||||
-type d -name 'build*' -prune -o \
|
||||
-type d -name 'tmp*' -prune -o \
|
||||
-type d -name 'vendor' -prune -o \
|
||||
-type f -iname '*.bat' -prune -o \
|
||||
-type f -iname '*.exe' -prune -o \
|
||||
-type f -iname '*.o' -prune -o \
|
||||
|
|
|
@ -10,6 +10,7 @@ set -e; set -o pipefail
|
|||
git ls-files --full-name -z | perl -0 -n -e '
|
||||
s,^,./,;
|
||||
if (m,^\./src/lzma-sdk(\0|$),) { }
|
||||
if (m,^\./vendor/,) { }
|
||||
elsif (m,\.bat(\0|$),) { }
|
||||
elsif (m,\.exe(\0|$),) { }
|
||||
else { print; }
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# UPX unconditionally uses its own version in src/lzma-sdk because
|
||||
# UPX unconditionally uses its own version in vendor/lzma-sdk because
|
||||
# that version works fine since 2006 and that is the only version
|
||||
# that is actually sufficiently tested!!!
|
||||
|
||||
override UPX_LZMADIR := $(top_srcdir)/src/lzma-sdk
|
||||
override UPX_LZMADIR := $(top_srcdir)/vendor/lzma-sdk
|
||||
override UPX_LZMA_VERSION := 0x443
|
||||
|
||||
ifeq ($(wildcard $(UPX_LZMADIR)/C/7zip/.),)
|
||||
ifneq ($(wildcard $(top_srcdir)/.git/.),)
|
||||
$(error ERROR: missing git submodule; run 'git submodule update --init --recursive')
|
||||
else
|
||||
$(error ERROR: missing directory src/lzma-sdk/; visit https://github.com/upx/upx-lzma-sdk )
|
||||
$(error ERROR: missing directory vendor/lzma-sdk/; visit https://github.com/upx/upx-vendor-lzma-sdk )
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user