MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_libs

Function get_libs

tools/ports/__init__.py:637–653  ·  view source on GitHub ↗

Return a list of library to link against for the selected ports. This is called add link time only. Can have the side effect of building and installing the needed ports.

(settings)

Source from the content-addressed store, hash-verified

635
636
637def get_libs(settings):
638 """Return a list of library to link against for the selected ports.
639
640 This is called add link time only.
641
642 Can have the side effect of building and installing the needed ports.
643 """
644 ret = []
645 needed = get_needed_ports(settings)
646
647 for port in dependency_order(needed):
648 port.linker_setup(Ports, settings)
649 # port.get returns a list of libraries to link
650 ret += port.get(Ports, settings, shared)
651
652 ret.reverse()
653 return ret
654
655
656def add_cflags(args, settings):

Callers

nothing calls this directly

Calls 3

get_needed_portsFunction · 0.85
dependency_orderFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected