From: Dmitry Kozlyuk Date: Fri, 1 Oct 2021 16:37:26 +0000 (+0300) Subject: buildtools: enable header includes check on Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=19415bceb806ade41ea9e55abca155afc842f540;p=dpdk.git buildtools: enable header includes check on Windows Independent header compilation test (chkincs) was disabled on Windows. The comment stated that the shebang line in the generator script was not working. Meson 0.57.0, currently recommended for Windows, successfully parses that line and invokes the script. Remove the OS restriction as its reason no longer applies. Fixes: 05050ac4ce99 ("build: add header includes check") Signed-off-by: Dmitry Kozlyuk Acked-by: Bruce Richardson --- diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build index 34dcd81ce1..5ffca89761 100644 --- a/buildtools/chkincs/meson.build +++ b/buildtools/chkincs/meson.build @@ -6,11 +6,6 @@ if not get_option('check_includes') subdir_done() endif -if is_windows - # for windows, the shebang line in the script won't work. - error('option "check_includes" is not supported on windows') -endif - gen_c_file_for_header = find_program('gen_c_file_for_header.py') gen_c_files = generator(gen_c_file_for_header, output: '@BASENAME@.c',