summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-18 21:59:30 +0000
committerChris Larson <clarson@kergoth.com>2003-12-18 21:59:30 +0000
commitac416e42a4b3f620874002a9ada6feff884e3c74 (patch)
tree0dd31725914fa0d5adc9cea056cb6cb6db5fc262
parent06839195fce3e3614afb4c693ea4c1a33214f33b (diff)
BUGFIX: Remove /lib/ references from libpthread.so linker script.
BKrev: 3fe22342DPBhkQU6wx7_usIA78gbvw
-rw-r--r--glib-2.0/glib-2.0-2.1.3/glibconfig-sysdefs.h0
-rw-r--r--glibc/glibc_2.3.2.oe8
2 files changed, 5 insertions, 3 deletions
diff --git a/glib-2.0/glib-2.0-2.1.3/glibconfig-sysdefs.h b/glib-2.0/glib-2.0-2.1.3/glibconfig-sysdefs.h
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/glib-2.0/glib-2.0-2.1.3/glibconfig-sysdefs.h
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' \