enable build mempool/stack on Windows

----
V2 change:
- enable build lib stack on Windows which mempool/stack depends on


Signed-off-by: Jie Zhou <j...@linux.microsoft.com>
---
 drivers/mempool/stack/meson.build | 5 -----
 lib/meson.build                   | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/mempool/stack/meson.build 
b/drivers/mempool/stack/meson.build
index 371cf131b1..580dde79eb 100644
--- a/drivers/mempool/stack/meson.build
+++ b/drivers/mempool/stack/meson.build
@@ -1,11 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017-2019 Intel Corporation
 
-if is_windows
-    build = false
-    reason = 'not supported on Windows'
-endif
-
 sources = files('rte_mempool_stack.c')
 
 deps += ['stack']
diff --git a/lib/meson.build b/lib/meson.build
index 1673ca4323..9c4841fe40 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -85,6 +85,7 @@ if is_windows
             'gso',
             'latencystats',
             'pdump',
+            'stack',
     ] # only supported libraries for windows
 endif
 
-- 
2.31.0.vfs.0.1

Reply via email to