eal/windows: export version function
authorWilliam Tu <u9012063@gmail.com>
Thu, 5 Aug 2021 17:48:19 +0000 (17:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 30 Sep 2021 20:47:23 +0000 (22:47 +0200)
commitfe81e52a91d4b1beef15cfc152274498322446b4
tree993c1029a3beb9472804766d8f216509ad25def0
parent4feddcfc6cf131afb1b2e696f0549c98192e9aec
eal/windows: export version function

When OVS inits, it calls rte_version to get the DPDK's version.
The patch fixes the error below by exposing rte_version symbol.
libopenvswitch.a(dpdk.c.obj) : error LNK2019: unresolved external symbol
rte_version referenced in function dpdk_init

Fixes: 5b637a848195 ("eal: fix querying DPDK version at runtime")
Cc: stable@dpdk.org
Signed-off-by: William Tu <u9012063@gmail.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/eal/version.map