summaryrefslogtreecommitdiffstats
path: root/package/toolchain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/toolchain/Makefile')
-rw-r--r--package/toolchain/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile
index c194a34d0..265587ed5 100644
--- a/package/toolchain/Makefile
+++ b/package/toolchain/Makefile
@@ -453,9 +453,12 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
define Package/libthread-db/install
$(INSTALL_DIR) $(1)/lib
$(CP) \
- $(TOOLCHAIN_DIR)/lib/libthread_db.so.* \
+ $(TOOLCHAIN_DIR)/lib/libthread_db.so.* $(1)/lib
+ ifeq ($(USE_UCLIBC),y)
+ $(CP) \
$(TOOLCHAIN_DIR)/lib/libthread_db-$(LIBC_SO_VERSION).so \
$(1)/lib/
+ endif
endef
define Package/libpthread/install_lib