mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-14 19:48:05 +02:00
Define GLIB_COMPILATION when building libgthread.so
This is necessary, because gthreadprivate.h can only be included inside GLib, otherwise single-include guards trigger.
This commit is contained in:
parent
34ce4dd032
commit
bc67c23bf9
@ -7,6 +7,7 @@ DIST_SUBDIRS = tests
|
||||
AM_CPPFLAGS = \
|
||||
$(glib_INCLUDES) \
|
||||
-DG_LOG_DOMAIN=\"GThread\" \
|
||||
-DGLIB_COMPILATION \
|
||||
@GTHREAD_COMPILE_IMPL_DEFINES@ \
|
||||
@GLIB_DEBUG_FLAGS@ \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
|
Loading…
x
Reference in New Issue
Block a user