mirror of https://github.com/hak5/openwrt-owl.git
remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511owl
parent
abfe2f1bc2
commit
c672eeffc9
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue