From a7dc0ea21b730e03f042767d3f190c9089d1a081 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 9 Jan 2013 15:36:43 +0000 Subject: toolchain: fix libpthread package for musl based toolchains (#12651) Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35069 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/toolchain/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/toolchain/Makefile') diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index 84fc3e6b2..ec5508a75 100644 --- a/package/toolchain/Makefile +++ b/package/toolchain/Makefile @@ -451,6 +451,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) define Package/libpthread/install $(INSTALL_DIR) $(1)/lib + ifneq ($(CONFIG_USE_MUSL),y) $(CP) \ $(TOOLCHAIN_DIR)/lib/libpthread.so.* \ $(if $(BUILD_LIBGCC),\ @@ -458,6 +459,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) $(TOOLCHAIN_DIR)/lib/libpthread-$(LIBC_SO_VERSION).so \ ) \ $(1)/lib/ + endif endef define Package/libthread-db/install -- cgit v1.2.3