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

View File

@ -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