From 01ee477a31a7aaf3612f0600a5d7957e79e3c6cd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 31 Jan 2011 21:55:08 +0100 Subject: add libresolv.so symlink, use glibc package code to simplify --- package/eglibc/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'package/eglibc') diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile index 4f72f2400..ddd86201b 100644 --- a/package/eglibc/Makefile +++ b/package/eglibc/Makefile @@ -84,11 +84,9 @@ eglibc-dev-install: -cp ./files/libc.so.$(ARCH) $(IDIR_EGLIBC_DEV)/usr/lib/libc.so ${CP} ${STAGING_TARGET_DIR}/usr/lib/crt* ${IDIR_EGLIBC_DEV}/usr/lib ${CP} ${STAGING_TARGET_DIR}/usr/lib/libc_nonshared.a ${IDIR_EGLIBC_DEV}/usr/lib - cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libm.so.6 libm.so - cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libutil.so.1 libutil.so - cd $(IDIR_EGLIBC_DEV)/lib && ln -sf librt.so.1 librt.so - cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libcrypt.so.1 libcrypt.so - cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libdl.so.2 libdl.so + -for file in libc libcrypt libdl libm libresolv librt libutil; do \ + cd $(IDIR_GLIBC_DEV)/lib/; ln -sf $$file-$(PKG_VERSION).so $$file.so; \ + done # header package $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) \ HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ -- cgit v1.2.3