mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-19 23:28:39 +02:00
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 <rsalvaterra@gmail.com>
This commit is contained in:
parent
2703cc03c7
commit
e636e433c1
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=stubby
|
PKG_NAME:=stubby
|
||||||
PKG_VERSION:=0.4.0
|
PKG_VERSION:=0.4.0
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
|
PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
|
||||||
|
@ -45,6 +45,9 @@ define Package/stubby/conffiles
|
||||||
/etc/config/stubby
|
/etc/config/stubby
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Disable static linking
|
||||||
|
CMAKE_OPTIONS += -DENABLE_GETDNS_STATIC_LINK=OFF
|
||||||
|
|
||||||
define Package/stubby/install
|
define Package/stubby/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby
|
||||||
|
|
Loading…
Reference in New Issue
Block a user