libthread_db.so.$(LIBC_SO_VERSION) is only valid for uClibc, (e)glibc just
provides libthread_db.so.1.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34292
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