From 43e5ae18e37c1a30294dfa8a5eaaf4ef5a6bbd81 Mon Sep 17 00:00:00 2001 From: Kenneth Pouncey Date: Fri, 19 Mar 2021 18:48:26 +0100 Subject: [PATCH] [browser][wasm] Fix provision-wasm build error (#49863) ``` cd emsdk && ./emsdk install `cat emscripten-version.txt` cat: emscripten-version.txt: No such file or directory ``` --- src/mono/wasm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/Makefile b/src/mono/wasm/Makefile index 7c04d9103a114..4777abfb104c0 100644 --- a/src/mono/wasm/Makefile +++ b/src/mono/wasm/Makefile @@ -33,7 +33,7 @@ all: build-native icu-files source-files header-files # If EMSDK_PATH is not set by the caller, download and setup a local emsdk install. # -EMSCRIPTEN_VERSION=`cat emscripten-version.txt` +EMSCRIPTEN_VERSION := $(shell cat $(TOP)/src/mono/wasm/emscripten-version.txt) EMSDK_LOCAL_PATH=emsdk EMCC=source $(EMSDK_PATH)/emsdk_env.sh 2>/dev/null && emcc