From: Chen Minqiang Date: Thu, 20 May 2021 08:34:28 +0000 (+0800) Subject: busybox: nslookup applet link with resolv if use glibc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9ebd3a0ea968c7f28f9c0763089b67610ce1c1b;p=openwrt%2Fstaging%2Fjow.git busybox: nslookup applet link with resolv if use glibc This fixed b36b8b6929c6d6b17edddfb4597cf6a26a991ed0 ("busybox: remove nslookup_lede/openwrt.patch") It is likely dropped by mistake, This add back the changes Signed-off-by: Chen Minqiang --- diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 1e7d9dd333..32f0d2c755 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -98,6 +98,10 @@ endif LDLIBS += $(call BUSYBOX_IF_ENABLED,PAM,pam pam_misc pthread) +ifeq ($(CONFIG_USE_GLIBC),y) + LDLIBS += $(call BUSYBOX_IF_ENABLED,NSLOOKUP,resolv) +endif + ifeq ($(BUILD_VARIANT),selinux) LDLIBS += selinux sepol endif