diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 70c417d..4137646 100644 --- a/meson.build +++ b/meson.build @@ -203,7 +203,10 @@ configure_file(input: 'epoxy.pc.in', install_dir: join_paths(epoxy_libdir, 'pkgconfig')) # Python -python = find_program('python', required: true) +python = find_program('python3', required: false) +if not python.found() + python = find_program('python', required: true) +endif # Generates the dispatch tables gen_dispatch_py = join_paths(meson.source_root(), 'src/gen_dispatch.py') |
