From 47ca6eb4a5f470f970c28631245d188a4a6a634b Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Mon, 13 Apr 2026 04:58:21 +0800 Subject: [PATCH] Update Makefile --- mosdns/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mosdns/Makefile b/mosdns/Makefile index 6d93e149..506db803 100644 --- a/mosdns/Makefile +++ b/mosdns/Makefile @@ -35,6 +35,13 @@ define Package/mosdns DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle 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)/mosdns +endif +endef + define Package/mosdns/install $(call GoPackage/Package/Install/Bin,$(1)) endef