diff --git a/configs/meson/emscripten.txt b/configs/meson/emscripten.txt index 4230e88005..56c39763bb 100644 --- a/configs/meson/emscripten.txt +++ b/configs/meson/emscripten.txt @@ -6,3 +6,8 @@ objc_args = ['-pthread'] # configuration so explicitly add the flag here. c_link_args = ['-pthread','-sASYNCIFY=1','-sPROXY_TO_PTHREAD=1','-sFORCE_FILESYSTEM','-sALLOW_TABLE_GROWTH','-sTOTAL_MEMORY=2GB','-sWASM_BIGINT','-sEXPORT_ES6=1','-sASYNCIFY_IMPORTS=ffi_call_js','-sEXPORTED_RUNTIME_METHODS=addFunction,removeFunction,TTY,FS'] cpp_link_args = ['-pthread','-sASYNCIFY=1','-sPROXY_TO_PTHREAD=1','-sFORCE_FILESYSTEM','-sALLOW_TABLE_GROWTH','-sTOTAL_MEMORY=2GB','-sWASM_BIGINT','-sEXPORT_ES6=1','-sASYNCIFY_IMPORTS=ffi_call_js','-sEXPORTED_RUNTIME_METHODS=addFunction,removeFunction,TTY,FS'] + +[project options] +# Workaround for failure to find glib-2.0 when building idef parser, +# this may be a bug in the cross-build setup used by emscripten: +hexagon_idef_parser = false