X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Futils%2Fbusybox%2FMakefile;h=c87243b93c1ff0aaaead42b5dc9c16f645fdb7ae;hp=be4b967a47d4818961ab88172d978e942f9faec7;hb=7ae58bebc811a0ac6734405e9bc47533939d61d7;hpb=7d4147d86908b36dd8915bfeeb1c48c2a40941a5 diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index be4b967a47..c87243b93c 100644 --- 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)" \