Subject: Re: dilema with use of LDFLAGS=-L${LOCALBASE}/lib vs. private ap
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-pkg
Date: 10/21/1999 22:04:57
[ On Wednesday, October 20, 1999 at 23:26:06 (-0700), Tim Rightnour wrote: ]
> Subject: Re: dilema with use of LDFLAGS=-L${LOCALBASE}/lib vs. private ap
>
> On 21-Oct-99 Greywolf wrote:
> ># +   .if !defined(NO_USE_LOCALBASE_LIBS)
> >#     LDFLAGS+=         -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
> ># +   .endif
> ># and then setting "NO_USE_LOCALBASE_LIBS" in the package Makefile.
> > 
> > Greg is inadvertantly bringing up a very good point here -- it's inadvertant
> > in that it's probably not the one he was trying to illustrate:
> 
> I must be missing something..
> 
> If you just want to shut off, or get rid of he LDFLAGS, can't you simply:
> 
> LDFLAGS=
> 
> in the Makefile?

Nope.  (see the "+=" in the line from my suggested patch above?)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>