Thanks to visit codestin.com Credit goes to github.com
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 547d8da commit c525204Copy full SHA for c525204
1 file changed
Tools/wasm/wasi/__main__.py
@@ -271,7 +271,7 @@ def wasi_sdk_env(context):
271
for env_var, binary_name in list(env.items()):
272
env[env_var] = os.fsdecode(wasi_sdk_path / "bin" / binary_name)
273
274
- if wasi_sdk_path != pathlib.Path("/opt/wasi-sdk"):
+ if not wasi_sdk_path.name.startswith("wasi-sdk"):
275
for compiler in ["CC", "CPP", "CXX"]:
276
env[compiler] += f" --sysroot={sysroot}"
277
0 commit comments