This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit d45e5e350dac671bc3dfe4b107d4eb4ed2388e59
Author: Ryan Gammon <r...@gamnation.net>
AuthorDate: Sun Aug 27 20:20:17 2023 -0700

    mono fixes
---
 meson.build                            | 1 +
 src/bindings/mono/efl_mono/meson.build | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 0b9a451e0e..61f35381a9 100644
--- a/meson.build
+++ b/meson.build
@@ -118,6 +118,7 @@ if sys_windows
     error('Version of targetted Windows incorrect')
   endif
   add_project_arguments('-D__USE_MINGW_ANSI_STDIO', language: langs)
+  add_global_arguments('-define:WIN32', language: 'cs')
 endif
 
 if sys_sun
diff --git a/src/bindings/mono/efl_mono/meson.build b/src/bindings/mono/efl_mono/meson.build
index 4ed6349629..abc78b5232 100644
--- a/src/bindings/mono/efl_mono/meson.build
+++ b/src/bindings/mono/efl_mono/meson.build
@@ -14,12 +14,16 @@ map = run_command('map_generate.sh').stdout()
 
 efl_libs = configuration_data()
 efl_libs.set('EFL_MONO_LIBRARY_MAP', map)
-efl_libs.set('CUSTOM_EXPORTS_MONO_DL_MONO', 'eflcustomexportsmono')
 efl_libs.set('EVIL_DL_MONO', 'dl')
 if sys_osx
   efl_libs.set('LIBDL_DL_MONO', 'dl.dylib')
+  efl_libs.set('CUSTOM_EXPORTS_MONO_DL_MONO', 'eflcustomexportsmono')
+elif sys_windows
+  efl_libs.set('LIBDL_DL_MONO', 'libdl.dll')
+  efl_libs.set('CUSTOM_EXPORTS_MONO_DL_MONO', 'libeflcustomexportsmono' + '-' + version_major)
 else
   efl_libs.set('LIBDL_DL_MONO', 'libdl.so')
+  efl_libs.set('CUSTOM_EXPORTS_MONO_DL_MONO', 'eflcustomexportsmono')
 endif
 
 foreach mono_libs : mono_sublibs

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to