[PATCH]: Eliminate HAVE_CYGWIN (and _UWIN) around calls to setgroups() [was Re: openssh for UWIN]

Tim Rice tim at multitalents.net
Fri Jun 28 07:29:15 EST 2002


On Thu, 27 Jun 2002, Kevin Steves wrote:

> On Wed, Jun 26, 2002 at 08:01:35PM -0700, Tim Rice wrote:
> > While I like your directory grouping idea better, it would only
> > work if we don't have -Lopenbsd/ -Lcompat/ -Lplatform/
> > Some linkers on older systems have a limit on the number of -L options.
>
> if that's really an issue there would still be just 1 .a file.
> i'm just trying to organize source files so we don't have to
> prepend fake- and such things.

It could be as many .a files as we have subdirectories. I haven't been
able to overload -l options yet, just the -L option.
If we make the .a target be in the parent we could have 1 -L.
Ie.  In openbsd-compat/Makefile

./libopenbsd-compat.a:  $(COMPAT) $(OPENBSD) $(PORTS)
        $(AR) rv $@ $(COMPAT) $(OPENBSD) $(PORTS)
        $(RANLIB) $@

Your idea sounds good. Let's do it.

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list