Commit b96253a6 authored by Anders Darander's avatar Anders Darander Committed by Peter Korsgaard
Browse files

DNS resolv problem with glibc



Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.

Using glibc from external toolchain, name resolving does not work,
unless libnss_dns.so is available on the target.

Signed-off-by: default avatarAnders Darander <ad@datarespons.se>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 76aaac62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ EXTERNAL_LIBS=libc.so libcrypt.so libdl.so libgcc_s.so libm.so libnsl.so libpthr
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
EXTERNAL_LIBS+=ld-uClibc.so
else
EXTERNAL_LIBS+=ld-linux.so libnss_files.so
EXTERNAL_LIBS+=ld-linux.so libnss_files.so libnss_dns.so
endif

ifeq ($(BR2_INSTALL_LIBSTDCPP),y)