Jelajahi Sumber

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 <[email protected]>
Chen Minqiang 4 tahun lalu
induk
melakukan
a9ebd3a0ea
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      package/utils/busybox/Makefile

+ 4 - 0
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