summaryrefslogtreecommitdiff
path: root/src/bin/elementary/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-02 09:25:51 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-02 09:25:51 +0200
commite2a1cdfda76dd0061ef8e0ab25aee4e042304366 (patch)
treec79d238fb76828a0282ca521f292e31db44367b2 /src/bin/elementary/meson.build
parentf9ade56cf8de4f040572f368da644f2a83bdee92 (diff)
build: only find env once
this was a bit messy, and we might have caused a bug on the ML with that.
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/meson.build2
1 files changed, 0 insertions, 2 deletions
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
234if meson.is_cross_build() 234if meson.is_cross_build()
235 elementary_codegen_exe = [find_program('elementary_codegen', native: true)] 235 elementary_codegen_exe = [find_program('elementary_codegen', native: true)]
236else 236else
237 env = find_program('env', native: true)
238 elementary_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elementary_codegen.full_path()] 237 elementary_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elementary_codegen.full_path()]
239endif 238endif
240 239
@@ -260,7 +259,6 @@ if meson.is_cross_build()
260 elm_prefs_cc_path = _elm_prefs_cc.path() 259 elm_prefs_cc_path = _elm_prefs_cc.path()
261 elm_prefs_cc_exe = [_elm_prefs_cc] 260 elm_prefs_cc_exe = [_elm_prefs_cc]
262else 261else
263 env = find_program('env', native: true)
264 elm_prefs_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path()] 262 elm_prefs_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path()]
265endif 263endif
266 264