diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-31 21:55:08 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-31 21:55:08 +0100 |
commit | 01ee477a31a7aaf3612f0600a5d7957e79e3c6cd (patch) | |
tree | 5a6b20d922b0fa585eb31f3a77a8ef38749d4a37 /package/eglibc | |
parent | 1a633fb03f7772fff5b1f9cf12a7baf5ef29aefe (diff) |
add libresolv.so symlink, use glibc package code to simplify
Diffstat (limited to 'package/eglibc')
-rw-r--r-- | package/eglibc/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
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 \ |