Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
71469594 by Steve Lhomme at 2026-02-01T10:19:37+01: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.
- - - - -
1 changed file:
- contrib/src/main.mak
Changes:
=====================================
contrib/src/main.mak
=====================================
@@ -125,7 +125,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
ifndef HAVE_CROSS_COMPILE
LN_S = cp -R
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/71469594ef4675a87ba99f82a640172afa79263c
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/71469594ef4675a87ba99f82a640172afa79263c
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