mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 03:45:13 +08:00
Update Makefile
This commit is contained in:
1 parent
4e805be387
commit
6d462a68c3
1 file changed
+7
@@ -52,6 +52,13 @@ define Package/xray-core/conffiles
|
||||
/etc/config/xray
|
||||
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)/xray
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/xray-core/install
|
||||
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
|
||||
Reference in new issue
Block a user