Explorar el Código

Default to `emcc` toolchain when `EMSDK` env var is present

David Wilson hace 2 años
padre
commit
25cd8c4cb4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      configure

+ 2 - 0
configure

@@ -645,6 +645,8 @@ if is_host "msys"; then
     _target_plat_default="mingw"
 elif is_host "freebsd"; then
     _target_plat_default="bsd"
+elif test_nz "${EMSDK}"; then
+    _target_plat_default="wasm"
 fi
 
 # set the default target architecture