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

git pushed a commit to branch vtorri_winiconv
in repository efl.

View the commit online.

commit 33c67eebe17283c5e8f57b8c661b99b50d289613
Author: Vincent Torri <vto...@outlook.fr>
AuthorDate: Sat Jun 1 06:42:19 2024 +0200

    Eina: fix constness compilation error with gcc 14
---
 src/lib/eina/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index a8f9cf82b7..4ab37d2112 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -371,13 +371,17 @@ eina_ext_deps += [iconv]
 execinfo = cc.find_library('execinfo', required: false)
 eina_ext_deps += [execinfo]
 
+iconv_c_args = ''
 if sys_windows == true
    bcrypt = cc.find_library('bcrypt', required: true)
    eina_ext_deps += [bcrypt]
+   if iconv.found()
+     iconv_c_args = '-DWINICONV_CONST='
+   endif
 endif
 
 eina_lib = library('eina', eina_src,
-  c_args : [package_c_args, '-DEINA_BUILD'],
+  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
   include_directories : config_dir,
   dependencies: eina_ext_deps + [eina_deps, evil],
   install: true,

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

Reply via email to