[quagga-dev 7763] Re: [PATCH 5/9] [build] libzebra link fix: add libcap

David Lamparter equinox at diac24.net
Wed Feb 3 15:20:40 GMT 2010


Am Mittwoch, den 03.02.2010, 10:12 -0500 schrieb Greg Troxel:
> David Lamparter <equinox at diac24.net> writes:
> 
> > libzebra uses capability functions; some systems require libcap
> > for linking libzebra therefore
> 
> libcap seems Linux-specific; did you check or test that this doesn't
> trouble on other-than-Linux?

It compiles fine on FreeBSD and NetBSD. The issue this patch fixes only
exists on Linux when some external app links against libzebra and
doesn't reference libcap on its own.

> (I'm guessing it's ok because LIBCAP will be empty, but it would be
> nice for change descriptions to explain why the change is
> safe/portable.)

Exactly that is the case, LIBCAP will be empty. Thanks for the feedback,
I'll add a better description next time.


-David





More information about the Quagga-dev mailing list