efl_mono: install libeflcustomexportsmono.so to support EflSharp 53/203953/2
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 18 Apr 2019 07:35:23 +0000 (16:35 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 18 Apr 2019 09:34:37 +0000 (18:34 +0900)
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.

Change-Id: I3f4bcc95d86fb2366363b49db2c9b684a0dafac3

configure.ac
packaging/efl.spec
src/Makefile_Efl_Mono.am

index 1de757c..5af15a1 100755 (executable)
@@ -1439,7 +1439,10 @@ EFL_EVAL_PKGS([EFL_MONO])
 EFL_LIB_END_OPTIONAL([Efl_Mono])
 
 # Efl Custom Exports Mono
-EFL_LIB_START_OPTIONAL([Efl_Custom_Exports_Mono], [test "x${want_csharp}" = "xyes"])
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+#EFL_LIB_START_OPTIONAL([Efl_Custom_Exports_Mono], [test "x${want_csharp}" = "xyes"])
+EFL_LIB_START([Efl_Custom_Exports_Mono])
+##
 
 EFL_PLATFORM_DEPEND([EFL_CUSTOM_EXPORTS_MONO], [evil])
 EFL_INTERNAL_DEPEND_PKG([EFL_CUSTOM_EXPORTS_MONO], [Eina])
@@ -1450,7 +1453,10 @@ EFL_INTERNAL_DEPEND_PKG([EFL_CUSTOM_EXPORTS_MONO], [Eldbus])
 
 EFL_EVAL_PKGS([EFL_CUSTOM_EXPORTS_MONO])
 
-EFL_LIB_END_OPTIONAL([Efl_Custom_Exports_Mono])
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+#EFL_LIB_END_OPTIONAL([Efl_Custom_Exports_Mono])
+EFL_LIB_END([Efl_Custom_Exports_Mono])
+##
 
 # Libtool versioning stuff.
 # On windows, the version of the library goes into the filename.
index 644e1b2..cdbede1 100644 (file)
@@ -1434,6 +1434,8 @@ ldconfig -l %{_libdir}/libelementary.so.1.22.99
 %exclude %{_libdir}/pkgconfig/ecore-avahi*.pc
 %endif
 %endif
+#efl-mono
+%{_libdir}/libeflcustomexportsmono.so*
 
 %files -n %{name}-devel
 %manifest %{name}.manifest
index 5c6d57e..33d9150 100644 (file)
@@ -78,6 +78,25 @@ EXTRA_DIST2 += \
        bindings/mono/efl_mono/efl_libs.cs.in \
        bindings/mono/efl_mono/efl_libs.csv.in
 
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
+# Efl Custom Exports Mono auxiliary library
+
+lib_LTLIBRARIES += \
+lib/efl_mono/libeflcustomexportsmono.la
+
+lib_efl_mono_libeflcustomexportsmono_la_SOURCES = \
+       $(efl_custom_exports_mono_files)
+
+lib_efl_mono_libeflcustomexportsmono_la_CPPFLAGS = \
+-DEFL_BETA_API_SUPPORT \
+-I$(top_builddir)/src/lib/efl \
+-DEFL_BUILD \
+@EFL_CUSTOM_EXPORTS_MONO_CFLAGS@
+lib_efl_mono_libeflcustomexportsmono_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+lib_efl_mono_libeflcustomexportsmono_la_LIBADD = @EFL_CUSTOM_EXPORTS_MONO_LIBS@
+lib_efl_mono_libeflcustomexportsmono_la_DEPENDENCIES = @EFL_CUSTOM_EXPORTS_MONO_INTERNAL_LIBS@
+##
+
 if HAVE_CSHARP
 
 bin_PROGRAMS += bin/eolian_mono/eolian_mono
@@ -233,22 +252,24 @@ MCSFLAGS += -define:WIN32
 
 endif
 
+## TIZEN_ONLY(20190418) Install libeflcustomexportsmono.so without --enable-csharp-bindings
 # Efl Custom Exports Mono auxiliary library
 
-lib_LTLIBRARIES += \
-lib/efl_mono/libeflcustomexportsmono.la
-
-lib_efl_mono_libeflcustomexportsmono_la_SOURCES = \
-       $(efl_custom_exports_mono_files)
-
-lib_efl_mono_libeflcustomexportsmono_la_CPPFLAGS = \
--DEFL_BETA_API_SUPPORT \
--I$(top_builddir)/src/lib/efl \
--DEFL_BUILD \
-@EFL_CUSTOM_EXPORTS_MONO_CFLAGS@
-lib_efl_mono_libeflcustomexportsmono_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
-lib_efl_mono_libeflcustomexportsmono_la_LIBADD = @EFL_CUSTOM_EXPORTS_MONO_LIBS@
-lib_efl_mono_libeflcustomexportsmono_la_DEPENDENCIES = @EFL_CUSTOM_EXPORTS_MONO_INTERNAL_LIBS@
+#lib_LTLIBRARIES += \
+#lib/efl_mono/libeflcustomexportsmono.la
+
+#lib_efl_mono_libeflcustomexportsmono_la_SOURCES = \
+#      $(efl_custom_exports_mono_files)
+
+#lib_efl_mono_libeflcustomexportsmono_la_CPPFLAGS = \
+#-DEFL_BETA_API_SUPPORT \
+#-I$(top_builddir)/src/lib/efl \
+#-DEFL_BUILD \
+#@EFL_CUSTOM_EXPORTS_MONO_CFLAGS@
+#lib_efl_mono_libeflcustomexportsmono_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+#lib_efl_mono_libeflcustomexportsmono_la_LIBADD = @EFL_CUSTOM_EXPORTS_MONO_LIBS@
+#lib_efl_mono_libeflcustomexportsmono_la_DEPENDENCIES = @EFL_CUSTOM_EXPORTS_MONO_INTERNAL_LIBS@
+##
 
 #Efl Mono - C Sharp binding library