From be5dea1c8daef3a0eed5c40b885d957d00cbe3da Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Mon, 12 Jan 2026 22:52:01 +0200
Subject: [PATCH 58/58] emscripten: Build only sdl2-client

Disable server and stub-client build.

See RM #1902

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 platforms/emscripten/emsbuild.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/platforms/emscripten/emsbuild.sh b/platforms/emscripten/emsbuild.sh
index 07aaf6ad7b..66f9f4f7b5 100755
--- a/platforms/emscripten/emsbuild.sh
+++ b/platforms/emscripten/emsbuild.sh
@@ -2,7 +2,7 @@
 
 # emsbuild.sh: Build freeciv using emsdk
 #
-# (c) 2023-2025 Freeciv team
+# (c) 2023-2026 Freeciv team
 #
 # This script is licensed under Gnu General Public License version 2 or later.
 # See COPYING available from the same location you got this script.
@@ -53,7 +53,8 @@ if ! CC=emcc CXX=em++ AR=emar meson setup \
      -Daudio=none \
      -Dmwand=false \
      -Dtools=[] \
-     -Dclients=stub,sdl2 \
+     -Dclients=sdl2 \
+     -Dserver=disabled \
      -Dfcmp=[] \
      -Dfcdb=[] \
      "${PLATFORM_ROOT}/../../"
-- 
2.51.0

