mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 10:31:38 +08:00
Update Makefile
This commit is contained in:
parent
2ee3cec8e0
commit
4e805be387
@ -126,6 +126,13 @@ GO_PKG_TAGS:=$(subst $(space),$(comma),$(strip \
|
||||
define Package/sing-box/conffiles
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call GoPackage/Build/Compile)
|
||||
ifneq ($(filter arm mipsel mips,$(ARCH)),)
|
||||
$(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/sing-box
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/sing-box/install
|
||||
$(call GoPackage/Package/Install/Bin,$(1))
|
||||
endef
|
||||
|
||||
Loading…
Reference in New Issue
Block a user