summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-02 21:57:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-02 22:11:34 -0400
commitbc67c23bf939d3ad719e860362bdda0737c512a1 (patch)
tree9fa43077970eb1472dcf48ac9654d07eb8b42bde /gthread
parent34ce4dd0324acd02ceb51d43fdaed5640041d8c1 (diff)
Define GLIB_COMPILATION when building libgthread.so
This is necessary, because gthreadprivate.h can only be included inside GLib, otherwise single-include guards trigger.
Diffstat (limited to 'gthread')
-rw-r--r--gthread/Makefile.am1
1 files changed, 1 insertions, 0 deletions
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