Feature #908 ยป 0052-emscripten-Build-SDL2_gfx-from-freeciv-tree.patch
| platforms/emscripten/emsbuild.sh | ||
|---|---|---|
|
# Build SDL2 separately first, without USE_PTHREADS that
|
||
|
# the main build uses.
|
||
|
if ! embuilder build sdl2 sdl2_image sdl2_ttf sdl2_gfx sdl2_mixer ; then
|
||
|
if ! embuilder build sdl2 sdl2_image sdl2_ttf sdl2_mixer ; then
|
||
|
echo "SDL2 build failed!" >&2
|
||
|
exit 1
|
||
|
fi
|
||