Define more dependencies between libs

Change-Id: Ia74699bad15c1c583571944458fc8a5c3ded574b
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vpp-api-test.am b/src/vpp-api-test.am
index c788666..3261005 100644
--- a/src/vpp-api-test.am
+++ b/src/vpp-api-test.am
@@ -33,7 +33,6 @@
   vat/json_format.c	\
   vat/json_test.c
 
-vpp_api_test_LDFLAGS = $(DPDK_LD_FLAGS)
 vpp_api_test_LDADD = \
   libvlib.la				\
   libvlibmemoryclient.la		\
@@ -42,8 +41,7 @@
   libvppinfra.la 			\
   libvlibapi.la				\
   libvlibmemory.la			\
-  libvnet.la \
-  $(DPDK_LD_ADD)			\
+  libvnet.la				\
   -lpthread -lm -lrt -ldl -lcrypto
 
 vpp_json_test_LDADD = libvppinfra.la -lm