toolchain: Fix libthreaddb not being installed
authorSteven Barth <cyrus@openwrt.org>
Thu, 2 Oct 2014 19:47:39 +0000 (19:47 +0000)
committerSteven Barth <cyrus@openwrt.org>
Thu, 2 Oct 2014 19:47:39 +0000 (19:47 +0000)
Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42752

package/libs/toolchain/Makefile

index 36cf8c4..72ce6b9 100644 (file)
@@ -508,7 +508,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
        $(INSTALL_DIR) $(1)/lib
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/libthread_db.so.* $(1)/lib
        $(INSTALL_DIR) $(1)/lib
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/libthread_db.so.* $(1)/lib
-  ifeq ($(USE_UCLIBC),y)
+  ifeq ($(CONFIG_USE_UCLIBC),y)
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/libthread_db-$(LIBC_SO_VERSION).so \
                $(1)/lib/
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/libthread_db-$(LIBC_SO_VERSION).so \
                $(1)/lib/