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: 05050ac4ce
("build: add header includes check")
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
d47dd94162
commit
19415bceb8
@ -6,11 +6,6 @@ if not get_option('check_includes')
|
|||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
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_file_for_header = find_program('gen_c_file_for_header.py')
|
||||||
gen_c_files = generator(gen_c_file_for_header,
|
gen_c_files = generator(gen_c_file_for_header,
|
||||||
output: '@BASENAME@.c',
|
output: '@BASENAME@.c',
|
||||||
|
Loading…
Reference in New Issue
Block a user