felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7fc20c08ee9c37376bd61bb185b17b379d490eab
commit 7fc20c08ee9c37376bd61bb185b17b379d490eab Author: Lauro Moura <[email protected]> Date: Mon Mar 19 19:47:58 2018 -0300 csharp: Use the library mapping on linux too. Now the generated DllImport call will have the actual library name instead of placeholders on Linux. Before we relied on dlsym being able to search for the symbols on all loaded so's while Windows needed you to specify the correct library to call GetProcAddress. This fixes the case when someone call an function from an efl interface defined in efl.so (e.g. efl_part) and the library is not loaded yet. --- src/Makefile_Efl_Mono.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am index 1f718ecc28..7c2930d52b 100644 --- a/src/Makefile_Efl_Mono.am +++ b/src/Makefile_Efl_Mono.am @@ -300,11 +300,7 @@ WIN_ADD_TEST_PATHS = $(abs_top_builddir)/src/lib/evil/.libs:$(abs_top_builddir)/ ### Rules for generating the .cs files -if HAVE_WIN32 ALL_EO_REFS = -r $(top_builddir)/src/bindings/mono/efl_mono/efl_libs.csv -else -ALL_EO_REFS= -endif lib/eo/%.eo.cs: lib/eo/%.eo $(_EOLIAN_MONO_DEP) $(AM_V_EOLMONO) \ @@ -399,6 +395,7 @@ tests/efl_mono/efl_mono$(EXEEXT).config: echo " <dllmap dll=\"eina\" target=\"$(abs_top_builddir)/src/lib/eina/.libs/libeina.so\"/>" >> $@ echo " <dllmap dll=\"ecore\" target=\"$(abs_top_builddir)/src/lib/ecore/.libs/libecore.so\"/>" >> $@ echo " <dllmap dll=\"eo\" target=\"$(abs_top_builddir)/src/lib/eo/.libs/libeo.so\"/>" >> $@ + echo " <dllmap dll=\"efl\" target=\"$(abs_top_builddir)/src/lib/efl/.libs/libefl.so\"/>" >> $@ echo " <dllmap dll=\"evas\" target=\"$(abs_top_builddir)/src/lib/evas/.libs/libevas.so\"/>" >> $@ echo " <dllmap dll=\"eldbus\" target=\"$(abs_top_builddir)/src/lib/eldbus/.libs/libeldbus.so\"/>" >> $@ echo " <dllmap dll=\"elementary\" target=\"$(abs_top_builddir)/src/lib/elementary/.libs/libelementary.so\"/>" >> $@ --
