diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-01-14 11:09:45 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-01-14 11:09:45 +0000 |
commit | 01ebe27a8277d9f1acd88462d0643683608ca9e9 (patch) | |
tree | fc84388367507ca3173f1df49e51669349d3203f | |
parent | 5d818164dd2ab87b0054641f1446bc552a602320 (diff) | |
download | libepoxy-01ebe27a8277d9f1acd88462d0643683608ca9e9.tar.gz |
build: Use find_program()gen-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.
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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') |