projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
busybox: Move libresolv detection to LEDE Makefile
[openwrt/staging/chunkeey.git]
/
package
/
utils
/
busybox
/
Makefile
diff --git
a/package/utils/busybox/Makefile
b/package/utils/busybox/Makefile
index c1e60ea87b08f4db716b0a07764b0bc4ec64382a..fdac78fcf65cd97b0a82e3a300bc23dcab159e2a 100644
(file)
--- a/
package/utils/busybox/Makefile
+++ b/
package/utils/busybox/Makefile
@@
-85,6
+85,12
@@
ifdef CONFIG_BUSYBOX_CONFIG_PAM
LDLIBS += pam pam_misc pthread
endif
+ifdef CONFIG_BUSYBOX_DEFAULT_NSLOOKUP_LEDE
+ ifeq ($(CONFIG_USE_GLIBC),y)
+ LDLIBS += resolv
+ endif
+endif
+
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \