A2-Collaboration / ant

Just another analysis toolkit for A2
3 stars 20 forks source link

Instead of --no-as-needed, properly sort out library dependencies #40

Open neiser opened 7 years ago

neiser commented 7 years ago

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).

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