소스 검색

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

David Wilson 2 년 전
부모
커밋
25cd8c4cb4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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