summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libthread_db/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libthread_db/Makefile b/package/libthread_db/Makefile
index 4b65bf1f2..199afa806 100644
--- a/package/libthread_db/Makefile
+++ b/package/libthread_db/Makefile
@@ -31,11 +31,11 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-install:
- ${INSTALL_DIR} ${IDIR_LIBTHREAD_DB}/lib
ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
ifeq ($(ADK_TARGET_LIB_MUSL),)
ifeq (${ADK_TARGET_UCLINUX},)
- ${CP} ${STAGING_TARGET_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/lib
+ ${INSTALL_DIR} ${IDIR_LIBTHREAD_DB}/$(ADK_TARGET_LIBC_PATH)
+ ${CP} ${STAGING_TARGET_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/$(ADK_TARGET_LIBC_PATH)
endif
endif
endif