summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-03 21:06:53 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-04 12:07:03 +0100
commita8e23cc4005b45343f8902e25626a9e4116a66c9 (patch)
treea2b23d729783fbe5fb10f422fc6735f016fe93be
parent859afc8f5458594b6d4a010351ee515387d249ef (diff)
downloadefl-a8e23cc4005b45343f8902e25626a9e4116a66c9.tar.gz
efl-mono: Add efl_mono.dll.config file to run tests from within tree
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
-rw-r--r--src/bindings/mono/efl_mono.dll.config.in9
-rw-r--r--src/bindings/mono/meson.build13
2 files changed, 22 insertions, 0 deletions
diff --git a/src/bindings/mono/efl_mono.dll.config.in b/src/bindings/mono/efl_mono.dll.config.in
new file mode 100644
index 0000000000..0531b79523
--- /dev/null
+++ b/src/bindings/mono/efl_mono.dll.config.in
@@ -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>
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index 4710e4c0cc..411c29f617 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -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,