mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
getdns: fix missing libbsd dependency
Backport these commits from master to the 18.06 branch:8365744b80035b22b208d0766135adFixes https://github.com/openwrt/packages/issues/8093 Signed-off-by: Craig Andrews <candrews@integralblue.com>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=getdns
|
PKG_NAME:=getdns
|
||||||
PKG_VERSION:=1.4.2
|
PKG_VERSION:=1.4.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
@@ -55,6 +55,11 @@ CONFIGURE_ARGS += \
|
|||||||
$(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2), , --without-libidn2 ) \
|
$(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2), , --without-libidn2 ) \
|
||||||
--with-ssl="$(STAGING_DIR)/usr" \
|
--with-ssl="$(STAGING_DIR)/usr" \
|
||||||
|
|
||||||
|
# This will make 'configure' think that our libbsd.so is missing the
|
||||||
|
# functions inet_pton, inet_ntop, strlcpy and use the builtin. This
|
||||||
|
# removes the libbsd dependency
|
||||||
|
CONFIGURE_VARS += LIBBSD_LIBS=-lc
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/getdns/
|
$(INSTALL_DIR) $(1)/usr/include/getdns/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/getdns/getdns*.h $(1)/usr/include/getdns/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/getdns/getdns*.h $(1)/usr/include/getdns/
|
||||||
|
|||||||
Reference in New Issue
Block a user