Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit df55fb1

Browse files
Find the emsdk by relative path so that this works with the monorepo. (#40207)
Find the emsdk by relative path so that this works with the monorepo.
1 parent 1dc3c7c commit df55fb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/activate_emsdk.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
import subprocess
1010
import sys
1111

12-
EMSDK_ROOT = os.path.join('src', 'buildtools', 'emsdk')
12+
EMSDK_ROOT = os.path.abspath(
13+
os.path.join(__file__, '..', '..', '..', 'buildtools', 'emsdk')
14+
)
1315

1416
EMSDK_PATH = os.path.join(EMSDK_ROOT, 'emsdk.py')
1517

0 commit comments

Comments
 (0)