GCC library link order

Hi guys,
I had some familiar old fun with GCC library link order today. We have about 10 static libraries in our solution which are built using a custom jam script rather than Android library projects.

Some of these libraries have interdependencies, which meant the linker threw up unresolved symbol errors. I found this could be fixed by adding -Wl,–start-group at the top of my list of input libraries, and added -Wl,–end-group at the bottom.

Thought I’d share that in case it might be useful for others.

Cheers
Simon

Thanks Simon!