Bläddra i källkod

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

David Wilson 2 år sedan
förälder
incheckning
25cd8c4cb4
1 ändrade filer med 2 tillägg och 0 borttagningar
  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