Commit 6e799d0
committed
build: Fix .la files leaking into mpicc
Fix a bug that has existed for some time with static components,
but became more noticable with static-by-default configuration
combined with moving some helper libraries into 3rd-party/.
If a component set its LIBS to a .la file (like the treematch
case) and that component did not explicitly set WRAPPER_EXTRA_LIBS,
then that .la file got copied into the wrapper LIBS and
caused compile failures.
Simplest solution is to filter out the .la files when copying the
component's LIBS to WRAPPER_EXTRA_LIBS, since components should not
be including non-static .la files.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>1 parent d2284ec commit 6e799d0
1 file changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
728 | 745 | | |
729 | 746 | | |
730 | 747 | | |
| |||
806 | 823 | | |
807 | 824 | | |
808 | 825 | | |
809 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
810 | 830 | | |
811 | | - | |
| 831 | + | |
812 | 832 | | |
813 | 833 | | |
814 | 834 | | |
815 | 835 | | |
816 | 836 | | |
817 | 837 | | |
818 | 838 | | |
| 839 | + | |
819 | 840 | | |
820 | 841 | | |
821 | 842 | | |
| |||
0 commit comments