summaryrefslogtreecommitdiff
path: root/bgpd/rfp-example
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-08-21 20:56:16 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 21:30:42 +0200
commit82f9e9b35839e849a83e8a9341ca1a1ca4a1e537 (patch)
tree19645d470f1f45d3b2591228977f7f4766d224bb /bgpd/rfp-example
parent086aec2ad407bbea696e53666c4df51c0d1533c9 (diff)
build: move RFPLDADD to bgpd/rfp-example/librfp
This makes it slightly easier to replace the stub RFP code with an external implementation. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bgpd/rfp-example')
-rw-r--r--bgpd/rfp-example/librfp/subdir.am1
-rw-r--r--bgpd/rfp-example/rfptest/subdir.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/rfp-example/librfp/subdir.am b/bgpd/rfp-example/librfp/subdir.am
index 2800f5aa36..254ab716d5 100644
--- a/bgpd/rfp-example/librfp/subdir.am
+++ b/bgpd/rfp-example/librfp/subdir.am
@@ -4,6 +4,7 @@
if ENABLE_BGP_VNC
noinst_LIBRARIES += bgpd/rfp-example/librfp/librfp.a
+RFPLDADD = bgpd/rfp-example/librfp/librfp.a
endif
bgpd_rfp_example_librfp_librfp_a_SOURCES = \
diff --git a/bgpd/rfp-example/rfptest/subdir.am b/bgpd/rfp-example/rfptest/subdir.am
index e1975e6b05..fa7c660116 100644
--- a/bgpd/rfp-example/rfptest/subdir.am
+++ b/bgpd/rfp-example/rfptest/subdir.am
@@ -16,5 +16,5 @@ noinst_HEADERS += \
bgpd_rfp_example_rfptest_rfptest_LDADD = \
lib/libfrr.la \
- bgpd/rfp-example/librfp/librfp.a \
+ $(RFPLDADD) \
# end