diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-21 20:26:55 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-21 20:26:55 +0000 |
commit | 75add71bb98666ba951100d2b99a21f0f9e78f9c (patch) | |
tree | 6a125f07cad276245a259da859851dc1f120e764 /package | |
parent | 12658b104af05d496a90c49c26cf66b6f379923c (diff) | |
download | upstream-75add71bb98666ba951100d2b99a21f0f9e78f9c.tar.gz upstream-75add71bb98666ba951100d2b99a21f0f9e78f9c.tar.bz2 upstream-75add71bb98666ba951100d2b99a21f0f9e78f9c.zip |
[toolchain] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34292 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/toolchain/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index c194a34d03..265587ed5f 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 |