commit | 1eac0c39f9828c1cd3a3d9d052d10974a359dd51 | [log] [tgz] |
---|---|---|
author | Aleksandr Mezin <mezin.alexander@gmail.com> | Sun Feb 28 02:27:13 2021 +0600 |
committer | Aleksandr Mezin <mezin.alexander@gmail.com> | Sun Feb 28 02:45:14 2021 +0600 |
tree | 96c8710e9d10cd7dde150c6439fc2173021a124e | |
parent | 47a949d74f0df392a8380042b7a2691246053073 [diff] |
meson: fix str[n]casecmp detection on clang-cl Meson incorrectly detects strcasecmp, strncasecmp on clang-cl if 'prefix:' is not specified for cc.has_function(). See https://github.com/mesonbuild/meson/issues/5628 Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2337 Before this change: msvc was using _stricmp() gcc on mingw was using strcasecmp() gcc on linux was using strcasecmp() clang-cl was trying to use strcasecmp() After this change: msvc is using _stricmp() gcc on mingw is using strcasecmp() gcc on linux is using strcasecmp() clang-cl is using _stricmp() Tests are still failing to build with clang-cl, but that's a separate issue.
GLib is the low-level core library that forms the basis for projects such as GTK and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
The official download locations are: https://download.gnome.org/sources/glib
The official web site is: https://www.gtk.org/
See the file ‘INSTALL.in’
Bugs should be reported to the GNOME issue tracking system. (https://gitlab.gnome.org/GNOME/glib/issues/new). You will need to create an account for yourself.
In the bug report please include:
Patches should also be submitted as merge requests to gitlab.gnome.org. If the patch fixes an existing issue, please refer to the issue in your commit message with the following notation (for issue 123): Closes: #123
Otherwise, create a new merge request that introduces the change, filing a separate issue is not required.