From 24ed245295b13449dc74f3c6c20f216b3d1eadc8 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 12 Mar 2022 12:13:53 +0200 Subject: [PATCH 47/47] meson-winbuild.sh: Add sdl2-client build support See osdn #43859 Signed-off-by: Marko Lindqvist --- windows/installer_cross/meson-winbuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/installer_cross/meson-winbuild.sh b/windows/installer_cross/meson-winbuild.sh index 08b562d723..8e1236dca1 100755 --- a/windows/installer_cross/meson-winbuild.sh +++ b/windows/installer_cross/meson-winbuild.sh @@ -22,7 +22,8 @@ fi GUI="$2" -if test "x$GUI" != "xgtk3.22" && test "x$GUI" != "xqt5" ; then +if test "$GUI" != "gtk3.22" && test "$GUI" != "sdl2" && + test "$GUI" != "qt5" ; then echo "Unknown gui \"$2\"" >&2 exit 1 fi @@ -64,6 +65,7 @@ SETUP=$(grep "CrosserSetup=" $DLLSPATH/crosser.txt | sed -e 's/CrosserSetup="//' case $GUI in gtk3.22) FCMP="gtk3" ;; + sdl2) FCMP="gtk4" ;; qt5) CLIENT="qt" FCMP="qt" NLS="-Dnls=false" ;; -- 2.35.1