1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-23 18:37:50 +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:
Matthias Clasen
2011-10-02 21:57:06 -04:00
parent 34ce4dd032
commit bc67c23bf9

@@ -7,6 +7,7 @@ DIST_SUBDIRS = tests
AM_CPPFLAGS = \ AM_CPPFLAGS = \
$(glib_INCLUDES) \ $(glib_INCLUDES) \
-DG_LOG_DOMAIN=\"GThread\" \ -DG_LOG_DOMAIN=\"GThread\" \
-DGLIB_COMPILATION \
@GTHREAD_COMPILE_IMPL_DEFINES@ \ @GTHREAD_COMPILE_IMPL_DEFINES@ \
@GLIB_DEBUG_FLAGS@ \ @GLIB_DEBUG_FLAGS@ \
-DG_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED