meson: do not use the variable name env in mono
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 23 Apr 2019 15:28:58 +0000 (17:28 +0200)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Apr 2019 00:45:31 +0000 (09:45 +0900)
env is used for the program env, and should not be used in any other
form here.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8690

src/tests/efl_mono/meson.build

index f13b9a3..abd497c 100644 (file)
@@ -67,11 +67,11 @@ efl_mono_suite = executable('efl-mono-suite',
   cs_args : extra_cs_args
 )
 
-env = environment()
-env.set('MONO_PATH', efl_mono_test_suite_path )
+env_mono = environment()
+env_mono.set('MONO_PATH', efl_mono_test_suite_path )
 
 if (cs_is_dotnet)
-env.set('LD_LIBRARY_PATH', efl_mono_test_suite_path )
+env_mono.set('LD_LIBRARY_PATH', efl_mono_test_suite_path )
 copy_prog = find_program(['cp', 'copy'])
 
 configure_file(input : 'efl-mono-suite.runtimeconfig.json',
@@ -108,9 +108,9 @@ foreach config : config_libs
   load_lib += repaired_path+':'
 endforeach
 
-env.set('LD_LIBRARY_PATH', load_lib)
+env_mono.set('LD_LIBRARY_PATH', load_lib)
 
 test('efl-mono-suite',
   efl_mono_suite,
-  env : env
+  env : env_mono
 )