diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-13 03:26:10 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-13 03:26:10 +0000 |
commit | 53742181076ce489231150fdc30cf21e5f59bf83 (patch) | |
tree | 9b4f401780e80c9c7f1544829f97a986e5f7423f | |
parent | d1c117a8efc07f87ef185ee90843ca10bb2343cd (diff) |
remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 90a65d61d..82bf51a2b 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 f52290356..681341903 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 |