[glib] Define GLIB_COMPILATION when building libgthread.so



commit bc67c23bf939d3ad719e860362bdda0737c512a1
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 2 21:57:06 2011 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index 70b6305..00e62a5 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]