Commit ba41498a authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

update configure options and build procedure.

parent 0f4eb8e1
...@@ -108,20 +108,21 @@ cd ../../ ...@@ -108,20 +108,21 @@ cd ../../
mkdir -p build-emscripten && cd build-emscripten mkdir -p build-emscripten && cd build-emscripten
OPTIONS=" OPTIONS="
--host=asmjs-unknown-emscripten --host=wasm32-unknown-emscripten
--enable-debug --enable-debug
--enable-gles2 --enable-gles2
--disable-lua
--disable-ssp
--disable-nls --disable-nls
--disable-sout --disable-sout
--disable-vlm --disable-vlm
--disable-addonmanagermodules --disable-addonmanagermodules
--disable-avcodec --enable-avcodec
--enable-merge-ffmpeg --enable-merge-ffmpeg
--disable-swscale --disable-swscale
--disable-a52 --disable-a52
--disable-x264 --disable-x264
--disable-xcb --disable-xcb
--disable-xvideo
--disable-alsa --disable-alsa
--disable-macosx --disable-macosx
--disable-sparkle --disable-sparkle
...@@ -132,14 +133,17 @@ OPTIONS=" ...@@ -132,14 +133,17 @@ OPTIONS="
--disable-alsa --disable-alsa
--disable-oss --disable-oss
--disable-vlc" --disable-vlc"
# --disable-xvideo Unknown option
# Note : # Note :
# search.h is a blacklisted module # search.h is a blacklisted module
# time.h is a blacklisted module # time.h is a blacklisted module
ac_cv_func_sendmsg=yes ac_cv_func_recvmsg=yes ac_cv_func_if_nameindex=yes ac_cv_header_search_h=no ac_cv_header_time_h=no \ # shm.h is a blacklisted module
../configure ${OPTIONS} # ssp is not supported on the wasm backend
emconfigure ../configure ${OPTIONS} \
ac_cv_func_sendmsg=yes ac_cv_func_recvmsg=yes ac_cv_func_if_nameindex=yes ac_cv_header_search_h=no ac_cv_header_time_h=no ac_cv_header_sys_shm_h=no
make ${MAKEFLAGS} emmake make ${MAKEFLAGS}
diagnostic "Generating module list" diagnostic "Generating module list"
cd ../.. cd ../..
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment