[vlc-devel] [PATCH 3.0 06/16] contrib: projectM/glew: Don't build projectM (and implicitly glew) when targeting windows on arm/aarch64

Martin Storsjö martin at martin.st
Fri Jun 19 23:26:57 CEST 2020


OpenGL is unavailable on windows on these architectures.

(cherry picked from commit 85c8fa3f7fc41e7d76eb28422dbdec58a0df00c5)
---
 contrib/src/projectM/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/projectM/rules.mak b/contrib/src/projectM/rules.mak
index 0502d0dbce..9674b25951 100644
--- a/contrib/src/projectM/rules.mak
+++ b/contrib/src/projectM/rules.mak
@@ -3,8 +3,12 @@ PROJECTM_VERSION := 2.0.1
 PROJECTM_URL := $(SF)/projectm/$(PROJECTM_VERSION)/projectM-$(PROJECTM_VERSION)-Source.tar.gz
 
 ifdef HAVE_WIN32
+ifneq ($(ARCH),arm)
+ifneq ($(ARCH),aarch64)
 PKGS += projectM
 endif
+endif
+endif
 ifeq ($(call need_pkg,"libprojectM"),)
 PKGS_FOUND += projectM
 endif
-- 
2.17.1



More information about the vlc-devel mailing list