csharp: Fix testing under dotnet
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Fri, 31 May 2019 19:58:19 +0000 (16:58 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 3 Jun 2019 08:09:36 +0000 (17:09 +0900)
Summary: Fix LD_LIBRARY_PATH so it can still find the custom exports lib

Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9020

src/tests/efl_mono/meson.build

index ac658b4..84a0c22 100644 (file)
@@ -79,7 +79,6 @@ env_mono = environment()
 env_mono.set('MONO_PATH', efl_mono_test_suite_path )
 
 if (cs_is_dotnet)
-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',
@@ -100,7 +99,7 @@ custom_target('copy_efl_mono_lib_dll',
 endif
 
 config_libs = ['eina', 'ecore', 'eo', 'efl', 'evas', 'eldbus', 'elementary']
-load_lib = ''
+load_lib = efl_mono_test_suite_path + ':'
 
 foreach config : config_libs
   lib = get_variable(config+'_lib')