We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027f21e commit 1c376b0Copy full SHA for 1c376b0
1 file changed
Tools/wasm/wasi/__main__.py
@@ -269,7 +269,7 @@ def wasi_sdk_env(context):
269
for env_var, binary_name in list(env.items()):
270
env[env_var] = os.fsdecode(wasi_sdk_path / "bin" / binary_name)
271
272
- if wasi_sdk_path != pathlib.Path("/opt/wasi-sdk"):
+ if not wasi_sdk_path.name.startswith("wasi-sdk"):
273
for compiler in ["CC", "CPP", "CXX"]:
274
env[compiler] += f" --sysroot={sysroot}"
275
0 commit comments