aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-13 03:26:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-13 03:26:10 +0000
commitc672eeffc9372bf4c7f919622a999d86771fb071 (patch)
tree5b87205ad98d97d80d06b7d0f4339f26565c2736
parentabfe2f1bc2b0b34eee71764111b5e88ad6a7409e (diff)
downloadupstream-c672eeffc9372bf4c7f919622a999d86771fb071.tar.gz
upstream-c672eeffc9372bf4c7f919622a999d86771fb071.tar.bz2
upstream-c672eeffc9372bf4c7f919622a999d86771fb071.zip
remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
-rw-r--r--package/base-files/Makefile2
-rw-r--r--toolchain/uClibc/Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 90a65d61de..82bf51a2bd 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -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 \
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index f522903563..681341903e 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -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