[openbeos] Re: joe - haiku ports

> 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: