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)
| 635 | |
| 636 | |
| 637 | def 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 | |
| 656 | def add_cflags(args, settings): |
nothing calls this directly
no test coverage detected