efl_mono: install libeflcustomexportsmono.so to support EflSharp by meson 59/204059/2
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 19 Apr 2019 03:14:54 +0000 (12:14 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 23 Apr 2019 02:25:58 +0000 (02:25 +0000)
EflSharp application installed by dotnet requires
libeflcustomexportsmono.so files to be executed.
To support EflSharp application, libeflcustomexportsmono.so files are
installed without --enable-csharp-bindings option by meson build.

Change-Id: I00f6486e00f2dc6b4269c684df7c5ece462c8ff8

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

index 4cb1ff1..9edcefb 100644 (file)
@@ -422,6 +422,11 @@ foreach package : subprojects
 endforeach
 
 subdir('cmakeconfig')
+
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+subdir(join_paths('src', 'lib', 'efl_mono'))
+##
+
 #build this later, as the debug services are depending on ecore
 if get_option('eolian-bootstrap') == false
   subdir(join_paths('src', 'bin', 'efl'))
index e7c5e00..4668548 100644 (file)
@@ -91,12 +91,14 @@ blacklisted_files = [
   'elm_atspi_app_object.eo',
 ]
 
-efl_mono_lib = library('eflcustomexportsmono',
-    join_paths('..', '..', 'lib', 'efl_mono', 'efl_custom_exports_mono.c'),
-    install : true,
-    install_dir : join_paths(dir_lib, 'efl-mono-'+version_major),
-    dependencies : [eo, eina, ecore]
-)
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+#efl_mono_lib = library('eflcustomexportsmono',
+#    join_paths('..', '..', 'lib', 'efl_mono', 'efl_custom_exports_mono.c'),
+#    install : true,
+#    install_dir : join_paths(dir_lib, 'efl-mono-'+version_major),
+#    dependencies : [eo, eina, ecore]
+#)
+##
 
 beta_option = []
 if (get_option('mono-beta'))
diff --git a/src/lib/efl_mono/meson.build b/src/lib/efl_mono/meson.build
new file mode 100644 (file)
index 0000000..1c8c2f5
--- /dev/null
@@ -0,0 +1,8 @@
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+efl_mono_lib = library('eflcustomexportsmono',
+    'efl_custom_exports_mono.c',
+    install : true,
+    dependencies : [eo, eina, ecore],
+    version : meson.project_version()
+)
+##