From: David Lamparter Date: Fri, 1 Mar 2013 11:03:58 +0000 (+0100) Subject: build: reference libcap from libzebra (BZ#393,626) X-Git-Tag: frr-2.0-rc1~1674 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8df55970b64984e5071afd510caad5e778569bc1;p=mirror%2Ffrr.git build: reference libcap from libzebra (BZ#393,626) While the actual build failures have been fixed independently by d1d3ac9 "build: reorder libraries to address linker error", libzebra still does not reference libcap. This will lead to more build failures if someone else tries to use libzebra and doesn't add libcap. Let's just add libcap here and be done with it. I've not added libcap to the _DEPENDENCIES variable above since libcap is a system library. Actually, the whole _DEPENDENCIES thing is rather fishy; automake automatically sets _DEPENDENCIES from _LIBADD. For the sake of not breaking stuff that works (especially since most autotools stuff is arcane magic), I'm leaving it alone... Signed-off-by: David Lamparter --- diff --git a/lib/Makefile.am b/lib/Makefile.am index d7c31edb49..44d95bbee3 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,7 +18,7 @@ BUILT_SOURCES = memtypes.h route_types.h gitversion.h libzebra_la_DEPENDENCIES = @LIB_REGEX@ -libzebra_la_LIBADD = @LIB_REGEX@ +libzebra_la_LIBADD = @LIB_REGEX@ @LIBCAP@ pkginclude_HEADERS = \ buffer.h checksum.h command.h filter.h getopt.h hash.h \