diff --git a/Makefile b/Makefile index 8fb4bc1..cfc71b7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,13 @@ PKG_NAME:=shadowsocks-rust PKG_VERSION:=1.10.8 PKG_RELEASE:=20210418 -PKG_SOURCE:=shadowsocks-v$(PKG_VERSION).$(ARCH)-unknown-linux-musl.tar.xz +# refer: https://github.com/honwen/openwrt-shadowsocks-rust/commit/1c42f16ba56440bffd3560aa5d1c8305f5d9e1c5 +PKG_LIBC:=musl +ifeq ($(ARCH),arm) + PKG_LIBC:=musleabi +endif + +PKG_SOURCE:=shadowsocks-v$(PKG_VERSION).$(ARCH)-unknown-linux-$(PKG_LIBC).tar.xz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-rust/releases/download/v$(PKG_VERSION)/ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE) PKG_HASH:=skip