Skip to content

Commit 8455fba

Browse files
committed
Fix typo in looking up path_from_root()
1 parent 267c4ee commit 8455fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ def path_to_system_js_libraries(library_name):
20062006
# TODO: This is unintentional due to historical reasons. Improve EGL to use HTML5 API to avoid depending on GLUT.
20072007
if library_name == 'EGL': library_files += ['library_glut.js']
20082008

2009-
elif library_name.endswith('.js') and os.path.isfile(shared.path_from_root('src', 'library_' + library_name)):
2009+
elif library_name.endswith('.js') and os.path.isfile(path_from_root('src', 'library_' + library_name)):
20102010
library_files += ['library_' + library_name]
20112011
else:
20122012
if Settings.ERROR_ON_MISSING_LIBRARIES:

0 commit comments

Comments
 (0)