Subject: Re: src/gnu/usr.bin/egcs/common
To: None < (NetBSD Userlevel Technical Discussion>
From: Jason Thorpe <>
List: tech-userlevel
Date: 12/18/1999 10:42:26
On Sat, 18 Dec 1999 13:27:10 -0500 (EST) (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


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 <>