Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 57e9ffe

Browse files
authored
Merge pull request #759 from simonswine/automated-cherry-pick-of-#758-release-0.6
Automated cherry pick of #758
2 parents b92873c + af827fa commit 57e9ffe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ $(BINDIR)/npm: $(BINDIR)/node
162162
# upx binary packer, only supported on Linux
163163
$(BINDIR)/upx:
164164
ifeq ($(UNAME_S),Linux)
165-
curl -sL -o [email protected] https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz
166-
echo "b5d6856b89dd696138ad8c7245a8f0dae4b76f41b5a31c7c43a21bc72c479c4e [email protected]" | $(SHASUM)
165+
# Do not upgrade to 3.95 as it produces wrong binaries for darwin
166+
curl -sL -o [email protected] https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz
167+
echo "e1fc0d55c88865ef758c7e4fabbc439e4b5693b9328d219e0b9b3604186abe20 [email protected]" | $(SHASUM)
167168
which xz || ( apt-get update && apt-get -y install xz-utils)
168-
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.95-amd64_linux/upx --strip-components=1
169+
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.94-amd64_linux/upx --strip-components=1
169170
170171
else
171172
echo -e "#/bin/sh\nexit 0" > $@

0 commit comments

Comments
 (0)