csharp: Prevent using system dll for eflcustomexportsmono

If EFL is installed system-wide, `CustomExports` would use the system
(`/usr`) dll instead of local build's, causing new implemented binding calls to
native functions to crash with no entry point found for them.

This patch fixes it by ensuring that the local build's
`libeflcustomexportsmono.dll` will be used.

Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11343
This commit is contained in:
João Paulo Taylor Ienczak Zanette 2020-02-13 18:09:29 +00:00 committed by Felipe Magno de Almeida
parent 04b82b3f87
commit 93d4ffc940
2 changed files with 2 additions and 0 deletions

View File

@ -23,4 +23,5 @@
<dllmap dll="evas" target="@EVAS@"/>
<dllmap dll="eldbus" target="@ELDBUS@"/>
<dllmap dll="elementary" target="@ELEMENTARY@"/>
<dllmap dll="eflcustomexportsmono" target="@EFLCUSTOMEXPORTSMONO@"/>
</configuration>

View File

@ -122,6 +122,7 @@ efl_mono_conf_data.set('EO', eo_lib.full_path())
efl_mono_conf_data.set('EVAS', evas_lib.full_path())
efl_mono_conf_data.set('ELDBUS', eldbus_lib.full_path())
efl_mono_conf_data.set('ELEMENTARY', elementary_lib.full_path())
efl_mono_conf_data.set('EFLCUSTOMEXPORTSMONO', efl_mono_lib.full_path())
efl_mono_dll_config = configure_file(input : 'efl_mono.dll.config.in',
output : 'efl_mono.dll.config',