binary-api debug CLI works with plugins
Change-Id: I81f33f5153d5afac94b66b5a8cb91da77463af79
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/src/vpp.am b/src/vpp.am
index 425f1e3..0b605ec 100644
--- a/src/vpp.am
+++ b/src/vpp.am
@@ -28,7 +28,9 @@
if WITH_APICLI
bin_vpp_SOURCES += \
vpp/api/api_format.c \
- vpp/api/api_main.c
+ vpp/api/api_main.c \
+ vpp/api/plugin.c \
+ vpp/api/plugin.h
endif
# comment out to disable stats upload to gmond
@@ -78,6 +80,8 @@
libvppinfra.la \
-lrt -lm -lpthread -ldl
+bin_vpp_LDFLAGS = -Wl,--export-dynamic
+
if ENABLE_TESTS
noinst_PROGRAMS += bin/test_client