Browse Source

contrib: librist: use winpthreads on Windows

Their threading implementation doesn't pass the WACK.

This would be a problem if we build with MSVC, but we don't.
pull/138/head
Steve Lhomme 4 years ago
parent
commit
b95db7a0c2
  1. 8
      contrib/src/librist/rules.mak

8
contrib/src/librist/rules.mak

@ -7,11 +7,19 @@ ifdef BUILD_NETWORK
PKGS += librist
endif
DEPS_librist =
ifdef HAVE_WIN32
DEPS_librist += pthreads $(DEPS_pthreads)
endif
ifeq ($(call need_pkg,"librist >= 0.2"),)
PKGS_FOUND += librist
endif
LIBRIST_CONF = -Dbuilt_tools=false -Dtest=false
ifdef HAVE_WIN32
LIBRIST_CONF += -Dhave_mingw_pthreads=true
endif
$(TARBALLS)/librist-$(LIBRIST_VERSION).tar.gz:
$(call download_pkg,$(LIBRIST_URL),librist)

Loading…
Cancel
Save