Merge branch 'wip/pwithnall/macos-leak-sanitizer' into 'main'

glib: Disable dynamic asan loading on macOS

See merge request GNOME/glib!3683
This commit is contained in:
Philip Withnall 2023-11-01 15:37:11 +00:00
commit 6d38e8be22

View File

@ -53,7 +53,7 @@
* as we'd like: https://stackoverflow.com/a/11529277/210151 and
* https://devblogs.microsoft.com/oldnewthing/20200731-00/?p=104024
*/
#elif defined (G_OS_UNIX) && g_macro__has_attribute (weak)
#elif defined (G_OS_UNIX) && !defined (__APPLE__) && g_macro__has_attribute (weak)
#define HAS_DYNAMIC_ASAN_LOADING