diff --git a/docs/meson.html b/docs/meson.html index 68f80d6ac4..af109d3d8b 100644 --- a/docs/meson.html +++ b/docs/meson.html @@ -24,7 +24,7 @@ for production

The meson build is tested on Linux, macOS, Cygwin and Haiku, FreeBSD, DragonflyBSD, NetBSD, and should work on OpenBSD.

-

Mesa requires Meson >= 0.45.0 to build. +

Mesa requires Meson >= 0.46.0 to build. Some older versions of meson do not check that they are too old and will error out in odd ways. diff --git a/meson.build b/meson.build index 1b47587782..cd1d2d2289 100644 --- a/meson.build +++ b/meson.build @@ -25,7 +25,7 @@ project( [find_program('python', 'python2', 'python3'), 'bin/meson_get_version.py'] ).stdout(), license : 'MIT', - meson_version : '>= 0.45', + meson_version : '>= 0.46', default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++11'] ) @@ -709,7 +709,7 @@ if with_platform_haiku pre_args += '-DHAVE_HAIKU_PLATFORM' endif -prog_python = import('python3').find_python() +prog_python = import('python').find_installation('python3') has_mako = run_command( prog_python, '-c', '''