libthread-db: fix libthread_db.so installation.

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
master
Florian Fainelli 12 years ago
parent e5effc8c4c
commit 4e733cfbc9
  1. 5
      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

Loading…
Cancel
Save