]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: reference libcap from libzebra (BZ#393,626)
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 1 Mar 2013 11:03:58 +0000 (12:03 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 9 Apr 2013 15:07:07 +0000 (17:07 +0200)
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 <equinox@opensourcerouting.org>
lib/Makefile.am

index d7c31edb4944ffda27c86fba4cd1dc681c94447a..44d95bbee360d1ac7816aeb4d688236cc08ed864 100644 (file)
@@ -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 \