summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PACKAGING2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/PACKAGING b/PACKAGING
index ab1b682..85488e9 100644
--- a/PACKAGING
+++ b/PACKAGING
@@ -11,7 +11,7 @@ libxkbcommon-x11 can be disabled with -Denable-x11=false (see
Dependencies for libxkbcommon:
- C compiler, meson, pkg-config, libc, bash, grep, sed.
-- (build) bison (preferred) or byacc>=20141006.
+- (build) bison (preferred), win_bison or byacc>=20141006.
byacc must be configured with --enable-btyacc.
- (build optional, runtime) xkeyboard-config.
diff --git a/meson.build b/meson.build
index efbf661..0098492 100644
--- a/meson.build
+++ b/meson.build
@@ -128,7 +128,7 @@ have_version_script = cc.links(
# libxkbcommon.
# Note: we use some yacc extensions, which work with either GNU bison
# (preferred) or byacc. Other yacc's may or may not work.
-yacc = find_program('bison', 'byacc')
+yacc = find_program('bison', 'win_bison', 'byacc')
yacc_gen = generator(
yacc,
output: ['@BASENAME@.c', '@BASENAME@.h'],