From: Rui Salvaterra Date: Mon, 3 Jan 2022 23:13:09 +0000 (+0000) Subject: stubby: explicitly disable static linking X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e636e433c16b34edcd4d121883f755479a459502;p=feed%2Fpackages.git stubby: explicitly disable static linking Although undocumented, there's a way to explicitly disable static linking in Stubby, setting the CMake build option ENABLE_GETDNS_STATIC_LINK to OFF (ON by default). Make it so. Signed-off-by: Rui Salvaterra --- diff --git a/net/stubby/Makefile b/net/stubby/Makefile index 23de5ce0bb..77f8d87708 100644 --- a/net/stubby/Makefile +++ b/net/stubby/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=stubby PKG_VERSION:=0.4.0 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME) @@ -45,6 +45,9 @@ define Package/stubby/conffiles /etc/config/stubby endef +# Disable static linking +CMAKE_OPTIONS += -DENABLE_GETDNS_STATIC_LINK=OFF + define Package/stubby/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby