From 63c6929d36e5b5802c0983932a3d69e23f330bb5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 27 Apr 2011 10:27:09 +0200 Subject: fix allconfig for foxg20 --- package/libpthread/Makefile | 2 +- package/libpthread/files/libpthread.so.arm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 package/libpthread/files/libpthread.so.arm (limited to 'package/libpthread') diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile index 4d61d570a..ed0602c86 100644 --- a/package/libpthread/Makefile +++ b/package/libpthread/Makefile @@ -49,7 +49,7 @@ endif libpthread-dev-install: ifeq ($(ADK_NATIVE),) ${INSTALL_DIR} ${IDIR_LIBPTHREAD_DEV}/usr/lib - ${CP} ./files/libpthread.so.$(ARCH) ${IDIR_LIBPTHREAD_DEV}/usr/lib/libpthread.so + -${CP} ./files/libpthread.so.$(ARCH) ${IDIR_LIBPTHREAD_DEV}/usr/lib/libpthread.so ${CP} ${STAGING_TARGET_DIR}/usr/lib/libpthread_nonshared.a ${IDIR_LIBPTHREAD_DEV}/usr/lib endif diff --git a/package/libpthread/files/libpthread.so.arm b/package/libpthread/files/libpthread.so.arm new file mode 100644 index 000000000..73f6b6c9d --- /dev/null +++ b/package/libpthread/files/libpthread.so.arm @@ -0,0 +1,5 @@ +/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf32-arm) +GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a ) -- cgit v1.2.3