build with multiple libraries -- only one is seen | Cypress Semiconductor
build with multiple libraries -- only one is seen
I create a design project. I create two library projects. I declare that the design project has code dependencies on both of the library projects.
I build everything.
The link step fails because only one of the libxxx.a or libyyy.a files (generated by building the library projects) is added to the linker command line. I can control which one is added to the linker line by the order in which I add the dependencies (not the order in which they are listed). It appears that the first dependency that is added is respected and the second one is ignored.
Is this a known bug/restriction?
Any thoughts on work arounds? (besides jamming the two libraries together into one library project and messing up my nice factoring)