mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
11 lines
514 B
Bash
Executable File
11 lines
514 B
Bash
Executable File
#!/bin/sh
|
|
# Currently latest emsdk tested and working version: 1.38.33
|
|
cd $(dirname "$0")
|
|
premake4 --file=../../premake4.lua --with-gles1 --with-gles2 --with-static-eepp --platform=emscripten --with-backend=SDL2 gmake
|
|
cd ../../make/emscripten/
|
|
ln -sf ../../bin/assets/ ./
|
|
sed -i 's/-rcs/rcs/g' *.make
|
|
emmake make -j`nproc` $@
|
|
# Fix a bug in emscripten, see my patch: https://github.com/emscripten-core/emscripten/pull/10208
|
|
sed 's/function _alGetSource3f(source,/function _alGetSource3f(sourceId,/' ../../bin/*.js
|