efl_mono: fix to load libevas.so based on efl.Libs.Evas
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 3 May 2019 07:42:42 +0000 (16:42 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 8 May 2019 04:32:33 +0000 (13:32 +0900)
libevas.so is loaded based on efl.Libs.Evas in efl_libs.cs.
Therefore, the hard coded string "evas" is replaced with efl.Libs.Evas.

src/bindings/mono/efl_mono/efl_all.cs

index 77f08be..7e7e9a0 100644 (file)
@@ -30,7 +30,7 @@ static class UnsafeNativeMethods
 
     static UnsafeNativeMethods()
     {
-        _evas_init = new Efl.Eo.FunctionWrapper<init_func_delegate>("evas", "evas_init");
+        _evas_init = new Efl.Eo.FunctionWrapper<init_func_delegate>(efl.Libs.Evas, "evas_init");
     }
 
     public static void evas_init()