Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
958dec1a by Steve Lhomme at 2026-02-05T06:56:27+00:00
contrib: mingw64: fix mingw_at_least test

The macro is meant to test if the used mingw-w64 is at least the version we 
want.
If it's equal the test should match as well.

This whole we have been rebuilding headers/packages we didn't need.

(cherry picked from commit 71469594ef4675a87ba99f82a640172afa79263c)

- - - - -


1 changed file:

- contrib/src/main.mak


Changes:

=====================================
contrib/src/main.mak
=====================================
@@ -159,7 +159,7 @@ ifdef HAVE_WIN32
 MINGW_W64_VERSION := $(shell echo "__MINGW64_VERSION_MAJOR" | $(CC) $(CFLAGS) 
-E -include _mingw.h - | tail -n 1)
 ifneq ($(MINGW_W64_VERSION),)
 HAVE_MINGW_W64 := 1
-mingw_at_least = $(shell [ $(MINGW_W64_VERSION) -gt $(1) ] && echo true)
+mingw_at_least = $(shell [ $(MINGW_W64_VERSION) -ge $(1) ] && echo true)
 endif
 HAVE_WINPTHREAD := $(shell $(CC) $(CFLAGS) -E -dM -include pthread.h - < 
/dev/null >/dev/null 2>&1 || echo FAIL)
 ifndef HAVE_CROSS_COMPILE



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to