Skip to content

Commit b68ddc9

Browse files
authored
Fix js library location in link.py (#23623)
This was broken when I move the library files in #23348 This was only used for generating the symbol lists, so the only side effect was the the symbol lists would remain stale if somebody was modifying the system libraries (i.e. it only effected emscripten developers, not users).
1 parent 8e65a04 commit b68ddc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/link.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ def get_js_sym_info():
215215
# and can contain full paths to temporary files.
216216
skip_settings = {'PRE_JS_FILES', 'POST_JS_FILES'}
217217
input_files = [json.dumps(settings.external_dict(skip_keys=skip_settings), sort_keys=True, indent=2)]
218-
jslibs = glob.glob(utils.path_from_root('src') + '/library*.js')
218+
jslibs = glob.glob(utils.path_from_root('src/lib') + '/lib*.js')
219+
assert jslibs
219220
input_files.extend(read_file(jslib) for jslib in sorted(jslibs))
220221
for jslib in settings.JS_LIBRARIES:
221222
if not os.path.isabs(jslib):

0 commit comments

Comments
 (0)