From 01ebe27a8277d9f1acd88462d0643683608ca9e9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 14 Jan 2020 11:09:45 +0000 Subject: build: Use find_program() Do not rely on the shebang line and the executable bit; we should use find_program(), instead, which lets Meson run a script in the appropriate environment, portably. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 029798c..47d3997 100644 --- a/meson.build +++ b/meson.build @@ -197,7 +197,7 @@ if host_system == 'windows' endif # Generates the dispatch tables -gen_dispatch_py = files('src/gen_dispatch.py') +gen_dispatch_py = find_program('src/gen_dispatch.py') gl_registry = files('registry/gl.xml') egl_registry = files('registry/egl.xml') -- cgit v1.2.1