]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: make libraries self-reliant
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 15 Sep 2015 09:19:46 +0000 (02:19 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:32 +0000 (15:33 +0000)
libospf and libospfclient both need libzebra, so they should link
against it. The days of libtool propagating upwards such dependencies
are nearing their end...

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit d8d5c60ecfab4dd609a07b4baa00d735f59002b9)

ospfclient/Makefile.am
ospfd/Makefile.am

index aa156373d18befc719b18083f62339c86ce1d743..f54481c924036bc33876cfe8823899da5957d9d5 100644 (file)
@@ -5,6 +5,7 @@ AM_CFLAGS = $(WERROR)
 
 lib_LTLIBRARIES = libospfapiclient.la
 libospfapiclient_la_LDFLAGS = -version-info 0:0:0
+libospfapiclient_la_LIBADD = ../ospfd/libospf.la ../lib/libzebra.la
 
 sbin_PROGRAMS = ospfclient
 
index 3ff1ebfc1418da4625c99fdf79efda8b3db1ec64..207941e3a711ec0b1e88103e79d4db107f084851 100644 (file)
@@ -7,6 +7,7 @@ INSTALL_SDATA=@INSTALL@ -m 600
 
 lib_LTLIBRARIES = libospf.la
 libospf_la_LDFLAGS = -version-info 0:0:0
+libospf_la_LIBADD = ../lib/libzebra.la
 
 sbin_PROGRAMS = ospfd