[openbeos] Re: joe - haiku ports

  • From: Nick <tonestone57@xxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Tue, 19 Aug 2008 10:01:22 -0600

> I copied that code from some other program's config/makefile script.
> Basically it does a test of your build system to see if it needs to have -lm
> and if it needs it, it then uses it in the makefile, if it doesn't
> then it leaves it
> out, thus fixing it for both cases.

No worries Scott.  Two other people have mentioned that libroot gets linked in 
by default so removing -lm is the right way to do it ( instead of changing it 
to -lroot ).  I was not sure if libroot got linked in or not.  Since libroot 
does, that means you are doing it the correct way.  :- )

> There's also places where I've seen configure scripts check for
> -lsocket, but BeOS needs -lnet, and Haiku needs -lnetwork.  Here's one
> such case:
> http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libcddb/libcddb-1.3.0-haiku.diff?rev=124

Haiku already has symlinks for libnet, libbind, libsocket

So, any configure script, which is run on Haiku, that looks for one of these 
should still work correctly. ( will redirect to libnetwork.so ).  ie: script 
can go unchanged and still work though the right way is to update it to use 
libnetwork on Haiku.

Try Chicktionary, a game that tests how many words you can form from the 
letters given. Find this and more puzzles at Live Search Games!

Other related posts: