commit 33b92082465b31d839ecb78eecc5df9ec12cbcf1
parent 7a056bbcf84f9437d7a00a5659be5bb6008bfe1d
Author: falkTX <falktx@falktx.com>
Date: Fri, 12 Jul 2019 11:24:30 +0200
Fix console warnings when building without X11
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.base.mk b/Makefile.base.mk
@@ -217,9 +217,11 @@ DGL_SYSTEM_LIBS += -lgdi32
endif
ifneq ($(HAIKU_OR_MACOS_OR_WINDOWS),true)
+ifeq ($(HAVE_X11),true)
DGL_FLAGS += $(shell $(PKG_CONFIG) --cflags x11)
DGL_SYSTEM_LIBS += $(shell $(PKG_CONFIG) --libs x11)
endif
+endif
# ---------------------------------------------------------------------------------------------------------------------
# Set Cairo specific stuff