Skip to content

Commit

Permalink
Fix link.py after two conflicting changes raced while landing (#23599)
Browse files Browse the repository at this point in the history
See #23593 and #23515
  • Loading branch information
sbc100 authored Feb 5, 2025
1 parent 8278ad1 commit db1b8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ def process_libraries(options, flags):
continue

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

0 comments on commit db1b8c7

Please sign in to comment.