base-files: check for libpthread_so.a instead of libc_so.a (some gcc/libc combinations don't provide a libpthread_so.a matching libc_so.a)

SVN-Revision: 18810
lede-17.01
Nicolas Thill 2009-12-18 10:32:38 +00:00
parent 6fd0f35028
commit 1772df7037
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
endef endef
define Package/libpthread/install_lib define Package/libpthread/install_lib
$(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libc_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a $(1)/lib/libpthread_pic.a) $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
endef endef
define Package/librt/install define Package/librt/install