Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions emcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,6 @@ def separate_linker_flags(newargs):
- Compiler flags are those to be passed to `clang -c`.
"""

if settings.RUNTIME_LINKED_LIBS:
newargs += settings.RUNTIME_LINKED_LIBS

compiler_args = []
linker_args = []

Expand Down
3 changes: 3 additions & 0 deletions tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -3126,6 +3126,9 @@ def run(options, linker_args):
# We have now passed the compile phase, allow reading/writing of all settings.
settings.limit_settings(None)

if settings.RUNTIME_LINKED_LIBS:
linker_args += settings.RUNTIME_LINKED_LIBS

if not linker_args:
exit_with_error('no input files')

Expand Down
3 changes: 0 additions & 3 deletions tools/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@
'LTO',
'OPT_LEVEL',
'DEBUG_LEVEL',

# This is legacy setting that we happen to handle very early on
'RUNTIME_LINKED_LIBS',
}.union(PORTS_SETTINGS)

# Unlike `LEGACY_SETTINGS`, deprecated settings can still be used
Expand Down