From 8f33484dd53d4271b16173df31b2804e122d9b8b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 Sep 2016 14:18:48 +0200 Subject: do not exit when shared library not found --- package/libpthread/Makefile | 2 +- package/librt/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile index be77d00b6..eb2d87b34 100644 --- a/package/libpthread/Makefile +++ b/package/libpthread/Makefile @@ -35,7 +35,7 @@ ifneq ($(ADK_TARGET_WITHOUT_THREADS),y) ifneq ($(ADK_TARGET_LIB_WITHOUT_THREADS),y) ifneq ($(ADK_TARGET_BINFMT_FLAT),y) ${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH) - ${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH) + -${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH) endif endif endif diff --git a/package/librt/Makefile b/package/librt/Makefile index aabac631b..14e82988d 100644 --- a/package/librt/Makefile +++ b/package/librt/Makefile @@ -30,7 +30,7 @@ librt-install: ifeq ($(ADK_TARGET_LIB_MUSL),) ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ifeq ($(ADK_TARGET_BINFMT_FLAT),) - ${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH) + -${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH) endif endif endif -- cgit v1.2.3