Menu

#6 Fix compilation with linker flags --as-needed

open
nobody
None
5
2009-08-09
2009-08-09
Anonymous
No

You link implicitely against libm through, though with setting linker flags -Wl,--as-needed, this doesn't work. So directly linking to libm is better.

See attached patch.

Discussion

  • Nobody/Anonymous

    Add libm to linking

     
  • mottmar

    mottmar - 2009-08-22

    I added your patch to the ant/ branch.
    Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.