From: Ophir Munk <ophi...@nvidia.com>

Build the lib for Windows.
Export the needed function from eal.

Signed-off-by: Ophir Munk <ophi...@nvidia.com>
Signed-off-by: Tal Shnaiderman <tal...@nvidia.com>
---
 lib/librte_eal/rte_eal_exports.def | 2 ++
 lib/meson.build                    | 1 +
 2 files changed, 3 insertions(+)

diff --git a/lib/librte_eal/rte_eal_exports.def 
b/lib/librte_eal/rte_eal_exports.def
index cda3e0c79f..7b35beb702 100644
--- a/lib/librte_eal/rte_eal_exports.def
+++ b/lib/librte_eal/rte_eal_exports.def
@@ -6,6 +6,7 @@ EXPORTS
        rte_bus_register
        rte_calloc
        rte_calloc_socket
+       rte_cpu_get_flag_enabled
        rte_dev_is_probed
        rte_devargs_insert
        rte_devargs_next
@@ -69,6 +70,7 @@ EXPORTS
        rte_vfio_container_dma_unmap
        rte_vlog
        rte_realloc
+       rte_rtm_supported
        rte_strscpy
        rte_zmalloc
        rte_zmalloc_socket
diff --git a/lib/meson.build b/lib/meson.build
index d8b358e5f4..e5597f174c 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -42,6 +42,7 @@ if is_windows
                'eal',
                'ring',
                'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci',
+               'hash',
        ] # only supported libraries for windows
 endif
 
-- 
2.16.1.windows.4

Reply via email to