From 283a868ec1f76304cca68c32f00702142604d62c Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 12 Aug 2022 21:07:21 -0400
Subject: Avoid running syntax check on Windows

---
 test/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'test')

diff --git a/test/meson.build b/test/meson.build
index 8c5a68a..e6178dc 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -33,7 +33,8 @@ endif
 
 # Check that specification data is strictly formatted
 serdi = find_program('serdi', required: get_option('tests'))
-if serdi.found() and not meson.is_cross_build()
+native_build = not meson.is_cross_build() and host_machine.system() != 'windows'
+if serdi.found() and native_build
   lv2_check_syntax = files(lv2_source_root / 'scripts' / 'lv2_check_syntax.py')
 
   test('syntax',
-- 
cgit v1.2.1