[vala/meson-msvc: 11/19] meson: Look for win_[flex|bison] too




commit ba6269129c66729e9fa38a719f844d0ee9584f6a
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Jan 24 18:02:24 2022 +0800

    meson: Look for win_[flex|bison] too
    
    People might have installed win_flex and/or win_bison, which work better
    for native Windows builds.

 gobject-introspection/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gobject-introspection/meson.build b/gobject-introspection/meson.build
index 5bf20ce08..0318aac80 100644
--- a/gobject-introspection/meson.build
+++ b/gobject-introspection/meson.build
@@ -14,8 +14,8 @@ gidl_dep = declare_dependency(
        include_directories: include_directories('.'),
 )
 
-flex = find_program('flex')
-bison = find_program('bison')
+flex = find_program('flex', 'win_flex')
+bison = find_program('bison', 'win_bison')
 
 lgen = generator(flex,
        output: '@PLAINNAME@.c',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]