Currently, we explicitly pass -Wl,--no-as-needed to ld to avoid linking errors to APLCONpp and to "dynamically" add physics classes at runtime (which are built as separate libraries, but still linked to Ant, see also #37 for a better implementation proposal).
Currently, we explicitly pass
-Wl,--no-as-needed
told
to avoid linking errors to APLCONpp and to "dynamically" add physics classes at runtime (which are built as separate libraries, but still linked to Ant, see also #37 for a better implementation proposal).After #37 is implemented, the proper library dependency could be implemented according to http://www.bnikolic.co.uk/blog/gnu-ld-as-needed.html
See also a03523f