Skip to content

Commit db1b8c7

Browse files
authored
Fix link.py after two conflicting changes raced while landing (#23599)
See #23593 and #23515
1 parent 8278ad1 commit db1b8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ def process_libraries(options, flags):
27952795
continue
27962796

27972797
static_lib = f'lib{lib}.a'
2798-
if not settings.RELOCATABLE and not find_library(static_lib, state.lib_dirs):
2798+
if not settings.RELOCATABLE and not find_library(static_lib, options.lib_dirs):
27992799
# Normally we can rely on the native linker to expand `-l` args.
28002800
# However, emscripten also supports `.so` files that are actually just
28012801
# regular object file. This means we need to support `.so` files even

0 commit comments

Comments
 (0)