remove the shared object stubs of libnsl and libresolv - let the compiler use the...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 03:26:10 +0000 (03:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 03:26:10 +0000 (03:26 +0000)
SVN-Revision: 25511

package/base-files/Makefile
toolchain/uClibc/Makefile

index 90a65d61de5bdae3aba444831800dc6ab7c4c039..82bf51a2bdd967af05097ecad2a7c74893c76999 100644 (file)
@@ -443,7 +443,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
                $(TOOLCHAIN_DIR)/lib/libc.so.* \
                $(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
                $(1)/lib/
-       for file in libcrypt libdl libm libnsl libresolv libutil; do \
+       for file in libcrypt libdl libm libutil; do \
                $(CP) \
                        $(TOOLCHAIN_DIR)/lib/$$$$file.so.* \
                        $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so \
index f522903563fce0642a94ce1b902f97f6fa4c003c..681341903e2429274033be6d4885f804a102fb0c 100644 (file)
@@ -128,6 +128,9 @@ define Host/Compile
                  done \
                done \
        )
+       rm -f \
+               $(TOOLCHAIN_DIR)/lib/libresolv*.so* \
+               $(TOOLCHAIN_DIR)/lib/libnsl*.so*
 endef
 
 define Host/Install