]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/Makefile
net/virtio: fix incorrect cast of void *
[dpdk.git] / drivers / net / virtio / Makefile
index 32e99dae1045ce5a650104834f7ac550071b53aa..f2b5d1c3352c0a85a24441da67b279bf69cc4513 100644 (file)
@@ -41,6 +41,9 @@ CFLAGS += $(WERROR_FLAGS)
 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
 LDLIBS += -lrte_bus_pci
+ifeq ($(CONFIG_RTE_VIRTIO_USER),y)
+LDLIBS += -lrte_bus_vdev
+endif
 
 EXPORT_MAP := rte_pmd_virtio_version.map