Commit 9c3c6ef9 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Look for native env executable

parent 15980a1b
option('notify', option('notify',
type: 'feature', type: 'feature',
value: 'disabled', value: 'disabled',
description: 'Notifications using libnotify.' description: 'notifications using libnotify'
) )
option('json', option('json',
type: 'feature', type: 'feature',
value: 'auto', value: 'auto',
description: 'Dump configuration using JSON.' description: 'dump configuration using JSON'
) )
option('docs', option('docs',
type: 'feature', type: 'feature',
value: 'auto', value: 'auto',
description: 'Doxygen API documentation.' description: 'doxygen API documentation'
) )
option('tests', option('tests',
type: 'feature', type: 'feature',
......
...@@ -75,7 +75,7 @@ if check.found() ...@@ -75,7 +75,7 @@ if check.found()
timeout: 60*60 timeout: 60*60
) )
env_bin = find_program('env', required: false) env_bin = find_program('env', required: false, native: true)
if env_bin.found() if env_bin.found()
env = environment() env = environment()
env.set('XDG_TEST_HELPER_PATH', meson.current_build_dir()) env.set('XDG_TEST_HELPER_PATH', meson.current_build_dir())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment