glib/glib-private: Build glib without ASAN sanitizer on AIX.

In AIX, we doesn't have lsan sysmbols related to sanitizer.
So, skipping this check in AIX to build glib without ASAN sanitizer.

Issue: https://gitlab.gnome.org/GNOME/glib/-/issues/3512
This commit is contained in:
Parth Patel 2024-10-23 05:23:07 -05:00
parent 4c3f06acbf
commit 929114fad2

View File

@ -64,7 +64,8 @@
* 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) && !defined (__APPLE__) && !defined(__CYGWIN__) && g_macro__has_attribute (weak)
#elif defined (G_OS_UNIX) && !defined (__APPLE__) && !defined(__CYGWIN__) && !defined(_AIX) && \
g_macro__has_attribute (weak)
#define HAS_DYNAMIC_ASAN_LOADING