diff options
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/bin/edje/meson.build | 2 | ||||
-rw-r--r-- | src/bin/elementary/meson.build | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/meson.build b/meson.build index c7af80917f..ba34a9c311 100644 --- a/meson.build +++ b/meson.build @@ -126,6 +126,8 @@ if sys_sun add_global_arguments('-D_POSIX_PTHREAD_SEMANTICS', language: 'c') endif +env = find_program('env', native: true) + config_h = configuration_data() config_h.set_quoted('MODULE_ARCH', version_name) config_h.set_quoted('PACKAGE', meson.project_name()) diff --git a/src/bin/edje/meson.build b/src/bin/edje/meson.build index 82d51c7a77..e715571852 100644 --- a/src/bin/edje/meson.build +++ b/src/bin/edje/meson.build @@ -45,7 +45,6 @@ else if sys_windows == true edje_cc_exe = [edje_cc.full_path()] else - env = find_program('env', native: true) edje_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', edje_cc.full_path()] endif edje_depends = [edje_cc, epp, evas_engine_buffer_mod, embryo_cc] @@ -98,7 +97,6 @@ if meson.is_cross_build() edje_codegen_path = _edje_codegen.path() edje_codegen_exe = [_edje_codegen] else - env = find_program('env', native: true) edje_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', edje_codegen.full_path()] endif diff --git a/src/bin/elementary/meson.build b/src/bin/elementary/meson.build index f31ed793e3..1d7aa75057 100644 --- a/src/bin/elementary/meson.build +++ b/src/bin/elementary/meson.build @@ -234,7 +234,6 @@ endif if meson.is_cross_build() elementary_codegen_exe = [find_program('elementary_codegen', native: true)] else - env = find_program('env', native: true) elementary_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elementary_codegen.full_path()] endif @@ -260,7 +259,6 @@ if meson.is_cross_build() elm_prefs_cc_path = _elm_prefs_cc.path() elm_prefs_cc_exe = [_elm_prefs_cc] else - env = find_program('env', native: true) elm_prefs_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path()] endif |