From becde7710729278c9d75ef629eee5780706ecbb0 Mon Sep 17 00:00:00 2001 From: Erik De Rijcke Date: Mon, 30 Sep 2024 16:12:35 +0200 Subject: [PATCH] Update build.sh make zsh happy --- sdk/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/build.sh b/sdk/build.sh index 495affdf..a71ed10b 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -9,6 +9,7 @@ pushd 'emsdk' popd _SDK_DIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") +export _SDK_DIR printf '%s\n' "[constants]" "toolchain = '$_SDK_DIR/emsdk/upstream/emscripten'" > "$_SDK_DIR/sysrootlibs/emscripten-toolchain.ini" printf '%s\n' "[constants]" "greenfield_sdk = '$_SDK_DIR'" > "$_SDK_DIR/toolkit/meson-gf-toolchain.ini"