spinlock: fix build with clang
[dpdk.git] / mk / rte.app.mk
index aab10d1..ec8e24e 100644 (file)
@@ -118,6 +118,10 @@ endif
 
 LDLIBS += --start-group
 
+ifeq ($(CONFIG_RTE_LIBRTE_KVARGS),y)
+LDLIBS += -lrte_kvargs
+endif
+
 ifeq ($(CONFIG_RTE_LIBRTE_MBUF),y)
 LDLIBS += -lrte_mbuf
 endif