From bc67c23bf939d3ad719e860362bdda0737c512a1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 2 Oct 2011 21:57:06 -0400 Subject: [PATCH] Define GLIB_COMPILATION when building libgthread.so This is necessary, because gthreadprivate.h can only be included inside GLib, otherwise single-include guards trigger. --- gthread/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/gthread/Makefile.am b/gthread/Makefile.am index 70b630512..00e62a564 100644 --- a/gthread/Makefile.am +++ b/gthread/Makefile.am @@ -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