mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-06 05:16:25 -06:00
Move EMCC_CFLAGS export outside EMSDK skip block
This commit is contained in:
@@ -26,9 +26,10 @@ if [ "$skip_emsdk" = 'false' ]; then
|
||||
echo "Activating Emscripten"
|
||||
./../emsdk/emsdk activate latest
|
||||
source ../emsdk/emsdk_env.sh
|
||||
export EMCC_CFLAGS="-s USE_SDL=2"
|
||||
fi
|
||||
|
||||
export EMCC_CFLAGS="-s USE_SDL=2"
|
||||
|
||||
echo "Building WASM with Emscripten"
|
||||
build_type='debug'
|
||||
if [ "$release" = 'true' ]; then
|
||||
|
||||
Reference in New Issue
Block a user