Define GLIB_COMPILATION when building libgthread.so
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Oct 2011 01:57:06 +0000 (21:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Oct 2011 02:11:34 +0000 (22:11 -0400)
This is necessary, because gthreadprivate.h can only be
included inside GLib, otherwise single-include guards trigger.

gthread/Makefile.am

index 70b6305..00e62a5 100644 (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