1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00

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
This commit is contained in:
nbd 2011-02-13 03:26:10 +00:00
parent d1c117a8ef
commit 5374218107
2 changed files with 4 additions and 1 deletions

View File

@ -443,7 +443,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
$(TOOLCHAIN_DIR)/lib/libc.so.* \ $(TOOLCHAIN_DIR)/lib/libc.so.* \
$(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \ $(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
$(1)/lib/ $(1)/lib/
for file in libcrypt libdl libm libnsl libresolv libutil; do \ for file in libcrypt libdl libm libutil; do \
$(CP) \ $(CP) \
$(TOOLCHAIN_DIR)/lib/$$$$file.so.* \ $(TOOLCHAIN_DIR)/lib/$$$$file.so.* \
$(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so \ $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so \

View File

@ -128,6 +128,9 @@ define Host/Compile
done \ done \
done \ done \
) )
rm -f \
$(TOOLCHAIN_DIR)/lib/libresolv*.so* \
$(TOOLCHAIN_DIR)/lib/libnsl*.so*
endef endef
define Host/Install define Host/Install