[openwrt/openwrt] busybox: nslookup applet link with resolv if use glibc

LEDE Commits lede-commits at lists.infradead.org
Fri May 21 02:32:01 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a9ebd3a0ea968c7f28f9c0763089b67610ce1c1b

commit a9ebd3a0ea968c7f28f9c0763089b67610ce1c1b
Author: Chen Minqiang <ptpt52 at gmail.com>
AuthorDate: Thu May 20 16:34:28 2021 +0800

    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 <ptpt52 at gmail.com>
---
 package/utils/busybox/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

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



More information about the lede-commits mailing list