Subject: Re: dilema with use of LDFLAGS=-L${LOCALBASE}/lib vs. private ap
To: Greg A. Woods <woods@weird.com>
From: Tim Rightnour <root@garbled.net>
List: tech-pkg
Date: 10/20/1999 23:26:06
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?

---
Tim Rightnour <root@garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
NetBSD Mailing lists on the web: http://mail-index.netbsd.org/