Skip to content
Snippets Groups Projects
Commit 93489988 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

toolchain: fix libpthread package for musl based toolchains (#12651)


Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>

SVN-Revision: 35069
parent 52b030cf
No related branches found
No related tags found
No related merge requests found
...@@ -451,6 +451,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) ...@@ -451,6 +451,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
define Package/libpthread/install define Package/libpthread/install
$(INSTALL_DIR) $(1)/lib $(INSTALL_DIR) $(1)/lib
ifneq ($(CONFIG_USE_MUSL),y)
$(CP) \ $(CP) \
$(TOOLCHAIN_DIR)/lib/libpthread.so.* \ $(TOOLCHAIN_DIR)/lib/libpthread.so.* \
$(if $(BUILD_LIBGCC),\ $(if $(BUILD_LIBGCC),\
...@@ -458,6 +459,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) ...@@ -458,6 +459,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
$(TOOLCHAIN_DIR)/lib/libpthread-$(LIBC_SO_VERSION).so \ $(TOOLCHAIN_DIR)/lib/libpthread-$(LIBC_SO_VERSION).so \
) \ ) \
$(1)/lib/ $(1)/lib/
endif
endef endef
define Package/libthread-db/install define Package/libthread-db/install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment