[haiku-development] Re: An idea about compiling applications

  • From: James Leone <linuxcpa@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 22 Jul 2014 05:41:30 -0700

I just want to push buttons and see things happen.
On Jul 22, 2014 5:28 AM, "James Leone" <linuxcpa@xxxxxxxxx> wrote:

> Chicken...egg.
>
> So today I was compiling Lynx. Not too fancy but...whatever.
>
> Ran into an error said it couldn't find "-lm".
>
> Ok this is the libtool thing that has the lib math whatzit in it.
>
> Then I saw this email...
>
> http://mail-index.netbsd.org/pkgsrc-users/2014/06/08/msg019818.html
>
> So i just put this whozit in the mk.conf
> Whatcha-ma-call-it:
>
> BUILDLINK_TRANSFORM+= rm:-lm
>
> And then I span the compile wheel and crossed my fingers.
>
> And it compiled Lynx.
>
> It felt like a miracle.
>
> > Is there a way to eliminate the need for patches by enhancing the way
> > configure behaves so that it knows what function calls to substitute in
> > when configure runs?
>

Other related posts: