[openbeos] Re: joe - haiku ports

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 19 Aug 2008 13:13:51 +0200 CEST

> I noticed you removed linking to libm.so ( -lm ) for joe.  You should 
> really avoid doing this - can mess up the program.
> 
> BeOS never came with libm.so because this library was merged into 
> libroot.so ( same should be true for Haiku )
> 
> You should really create a symbolic link libm.so->libroot.so

No
No
No!
This is a hack.

Hardcoding -lm is a *bug* that must be fixed, not worked around.

The correct way is to detect it at build time.

François.

Other related posts: