efl-mono: Add efl_mono.dll.config file to run tests from within tree
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Thu, 3 Jan 2019 21:06:53 +0000 (21:06 +0000)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 8 Jan 2019 04:50:42 +0000 (13:50 +0900)
Required by some distros like Arch.

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7527

src/bindings/mono/efl_mono.dll.config.in [new file with mode: 0644]
src/bindings/mono/meson.build

diff --git a/src/bindings/mono/efl_mono.dll.config.in b/src/bindings/mono/efl_mono.dll.config.in
new file mode 100644 (file)
index 0000000..0531b79
--- /dev/null
@@ -0,0 +1,9 @@
+<configuration>
+  <dllmap dll=\"eina\" target=\"@EINA@\"/>
+  <dllmap dll=\"efl\" target=\"@EFL@\"/>
+  <dllmap dll=\"ecore\" target=\"@ECORE@\"/>
+  <dllmap dll=\"eo\" target=\"@EO@\"/>
+  <dllmap dll=\"evas\" target=\"@EVAS@\"/>
+  <dllmap dll=\"eldbus\" target=\"@ELDBUS@\"/>
+  <dllmap dll=\"elementary\" target=\"@ELEMENTARY@\"/>
+</configuration>
index 4710e4c..411c29f 100644 (file)
@@ -113,6 +113,19 @@ foreach mono_gen_file : legacy_evas_required_by_mono
                                        '@INPUT@'])
 endforeach
 
+efl_mono_conf_data = configuration_data()
+efl_mono_conf_data.set('EINA', eina_lib.full_path())
+efl_mono_conf_data.set('EFL', efl_lib.full_path())
+efl_mono_conf_data.set('ECORE', ecore_lib.full_path())
+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())
+
+configure_file(input : 'efl_mono.dll.config.in',
+               output : 'efl_mono.dll.config',
+               configuration : efl_mono_conf_data)
+
 efl_mono = library('efl_mono',
     mono_generator_target + mono_files + [efl_src],
     install : true,