summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-02-20 18:39:14 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-02-20 22:42:14 +0100
commitf8a120b0e4843139b3d739725ce54269cfd96bd1 (patch)
treea49c29c3eda0bad83ae1a221b12f1a2bae3e7af9 /solenv
parentdesktop: remove duplicated gb_Library_set_include call (diff)
downloadcore-f8a120b0e4843139b3d739725ce54269cfd96bd1.tar.gz
core-f8a120b0e4843139b3d739725ce54269cfd96bd1.zip
headless: cleanup HEADLESS definition
Define HEADLESS globally as it is meant to be.
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/gbuild.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index b544f749bced..26eecbcb1f62 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -237,6 +237,10 @@ ifeq ($(strip $(ENABLE_GRAPHITE)),TRUE)
gb_GLOBALDEFS += -DENABLE_GRAPHITE
endif
+ifeq ($(strip $(ENABLE_HEADLESS)),TRUE)
+gb_GLOBALDEFS += -DHEADLESS
+endif
+
ifeq ($(HAVE_THREADSAFE_STATICS),TRUE)
gb_GLOBALDEFS += -DHAVE_THREADSAFE_STATICS
endif