[vlc-commits] [Git][videolan/vlc][master] contrib: pthreads: only require windows headers when building for win32

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Sun Sep 5 13:52:14 UTC 2021



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
f7447e6a by Steve Lhomme at 2021-09-05T13:05:51+00:00
contrib: pthreads: only require windows headers when building for win32

And only check for HAVE_MINGW64_V8 use when not using MSVC.

- - - - -


1 changed file:

- contrib/src/pthreads/rules.mak


Changes:

=====================================
contrib/src/pthreads/rules.mak
=====================================
@@ -7,7 +7,6 @@ WINPTHREADS_GITURL := https://git.code.sf.net/p/mingw-w64/mingw-w64
 
 ifdef HAVE_WIN32
 PKGS += pthreads
-endif
 
 ifndef HAVE_VISUALSTUDIO
 ifdef HAVE_WINSTORE
@@ -16,10 +15,11 @@ PKGS_ALL += winrt_headers
 endif
 PKGS += dxvahd
 PKGS_ALL += dxvahd
-endif
 ifeq ($(HAVE_MINGW64_V8),true)
 PKGS_FOUND += winrt_headers dxvahd
 endif
+endif
+endif
 
 $(TARBALLS)/mingw-w64-$(WINPTHREADS_HASH).tar.xz:
 	$(call download_git,$(WINPTHREADS_GITURL),,$(WINPTHREADS_HASH))



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f7447e6a61b5925843f136d8ca1a98e81ae218cc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f7447e6a61b5925843f136d8ca1a98e81ae218cc
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list