vfio: set errno on unsupported OS
[dpdk.git] / lib / eal / windows / meson.build
index fc12fef..845e406 100644 (file)
@@ -24,3 +24,13 @@ sources += files(
 )
 
 dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
+
+ext_deps += [
+        cc.find_library('dbghelp'),
+        cc.find_library('setupapi'),
+        cc.find_library('ws2_32'),
+]
+if is_ms_linker
+        # Contrary to docs, VirtualAlloc2() is exported by mincore.lib.
+        ext_deps += cc.find_library('mincore')
+endif