summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-01-14 11:09:45 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-01-14 11:09:45 +0000
commit01ebe27a8277d9f1acd88462d0643683608ca9e9 (patch)
treefc84388367507ca3173f1df49e51669349d3203f
parent5d818164dd2ab87b0054641f1446bc552a602320 (diff)
downloadlibepoxy-gen-find-program.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.build2
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')