[vala/meson-msvc: 9/15] meson: Look for win_[flex|bison] too




commit f381667bf8a89f9dcc978e4f4808ca545211afe5
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]