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.
macos/v1.5.9
Emmanuele Bassi 5 years ago
parent 5d818164dd
commit 01ebe27a82
  1. 2
      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')

Loading…
Cancel
Save