summaryrefslogtreecommitdiff
path: root/package/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'package/toolchain')
-rw-r--r--package/toolchain/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile
index c194a34..265587e 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