From ac416e42a4b3f620874002a9ada6feff884e3c74 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 18 Dec 2003 21:59:30 +0000 Subject: BUGFIX: Remove /lib/ references from libpthread.so linker script. BKrev: 3fe22342DPBhkQU6wx7_usIA78gbvw --- glibc/glibc_2.3.2.oe | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'glibc') diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe index 9089a8b355..0bfae75170 100644 --- a/glibc/glibc_2.3.2.oe +++ b/glibc/glibc_2.3.2.oe @@ -146,9 +146,6 @@ do_stage() { cp -a '${WORKDIR}/linux/include/linux' '${STAGING_DIR}/target/include/' cp -a '${WORKDIR}/linux/include/asm' '${STAGING_DIR}/target/include/' cp -a "${WORKDIR}/linux/include/`readlink ${WORKDIR}/linux/include/asm`" '${STAGING_DIR}/target/include/' - install -m 0644 ${B}/libc_nonshared.a ${STAGING_LIBDIR}/ - install -m 0644 ${B}/libc_pic.a ${STAGING_LIBDIR}/ - install -m 0644 ${B}/libc.a ${STAGING_LIBDIR}/ install -d ${STAGING_DIR}/target/include/gnu \ ${STAGING_DIR}/target/include/bits \ @@ -159,6 +156,11 @@ do_stage() { h=`echo $r|sed -e's,\.x$,.h,'` install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_DIR}/target/include/rpcsvc/ done + for i in libc.a libc_pic.a libc_nonshared.a; do + install ${B}/$i ${STAGING_LIBDIR}/ + done + echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so + echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \ 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \ -- cgit v1.2.3