Subject: Re: src/gnu/usr.bin/egcs/common
To: None <tech-userlevel@netbsd.org (NetBSD Userlevel Technical Discussion>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-userlevel
Date: 12/18/1999 10:42:26
On Sat, 18 Dec 1999 13:27:10 -0500 (EST) 
 woods@most.weird.com (Greg A. Woods) wrote:

 > Will this cause any problems for other people?  (I would say yes only if
 > they use BSD style makefiles, but not libc.)

...and it should only be done if the library *actually depends* on libc.

So, perhaps just use the generic mechanism:

LDADD+=	-lc

..etc.

Note that only encodes the dependency, i.e. the run-time linker will
actually complain, rather than just having the program magically fail.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>