mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #14680 from jonathanunderwood/getdns-no-static-linking
getdns: disable static linking of getdns utilities
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=getdns
|
PKG_NAME:=getdns
|
||||||
PKG_VERSION:=1.6.0
|
PKG_VERSION:=1.6.0
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
@@ -64,6 +64,11 @@ CMAKE_OPTIONS += -DUSE_LIBIDN2=$(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2),ON,OFF)
|
|||||||
# the test for libbsd.
|
# the test for libbsd.
|
||||||
CMAKE_OPTIONS += -DBSD_LIBRARY=OFF
|
CMAKE_OPTIONS += -DBSD_LIBRARY=OFF
|
||||||
|
|
||||||
|
# Disable static linking to ensure that utility programs such as getdns_query
|
||||||
|
# don't end up as large statically linked binaries.
|
||||||
|
CMAKE_OPTIONS += -DENABLE_STATIC=OFF
|
||||||
|
CMAKE_OPTIONS += -DENABLE_SHARED=ON # This is the default
|
||||||
|
|
||||||
define Package/getdns/install
|
define Package/getdns/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgetdns.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgetdns.so.* $(1)/usr/lib/
|
||||||
|
|||||||
Reference in New Issue
Block a user