mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
toolchain: fix libpthread package for musl based toolchains (#12651)
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35069
This commit is contained in:
parent
52b030cf16
commit
9348998887
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user