projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
busybox: nslookup applet link with resolv if use glibc
[openwrt/openwrt.git]
/
package
/
utils
/
busybox
/
Makefile
diff --git
a/package/utils/busybox/Makefile
b/package/utils/busybox/Makefile
index 1e7d9dd33313554fe5e230203cc554180294402b..32f0d2c75598147bc4d0f1512ab3166dfa8b4569 100644
(file)
--- 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