From 2c44baddbf656990121c6b260b8e20497c8f2d5f Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Sat, 15 Feb 2020 14:16:32 +0800 Subject: [PATCH] v2ray-plugin: compress by toolchain upx --- package/lean/v2ray-plugin/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/lean/v2ray-plugin/Makefile b/package/lean/v2ray-plugin/Makefile index b93daf3a8..5eb1dffab 100644 --- a/package/lean/v2ray-plugin/Makefile +++ b/package/lean/v2ray-plugin/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=v2ray-plugin PKG_VERSION:=1.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/v2ray-plugin-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -48,6 +48,7 @@ endef define Build/Compile $(call GoPackage/Build/Compile) + $(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray-plugin endef define Package/v2ray-plugin/install