[dpdk-dev] [EXTERNAL] [PATCH v2 7/7] examples/cmdline: build on Windows

Khoa To khot at microsoft.com
Sat Sep 26 08:03:51 CEST 2020


> -----Original Message-----
> From: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> 
> diff --git a/examples/meson.build b/examples/meson.build index
> eb13e8210..2b8ebce3b 100644
> --- a/examples/meson.build
> +++ b/examples/meson.build
> @@ -79,9 +79,9 @@ foreach example: examples
> 
>  	ext_deps = [execinfo]
>  	includes = [include_directories(example)]
> -	deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']
> -	if is_windows
> -		deps = ['eal'] # only supported lib on Windows currently
> +	deps = ['eal', 'mempool', 'net', 'mbuf', 'cmdline']
> +	if not is_windows
> +		deps += ['ethdev'] # not currently supported
>  	endif

'ethdev' is now supported on Windows, so I think you can just have 'ethdev' in the common deps list.

>  	subdir(example)
> 
> --
> 2.25.4




More information about the dev mailing list