summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/autoconf.in1
-rw-r--r--configs/default3
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/autoconf.in b/configs/autoconf.in
index 07fe055cbb6..c7a395455b2 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -79,6 +79,7 @@ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
APP_LIB_DEPS = $(EXTRA_LIB_PATH) @APP_LIB_DEPS@
# GLcore dependencies
+XORG_CFLAGS = @XORG_CFLAGS@
GLCORE_LIB_DEPS = $(EXTRA_LIB_PATH) @GLCORE_LIB_DEPS@
# DRI dependencies
diff --git a/configs/default b/configs/default
index 9705d6b78c0..cbdb3b2ada8 100644
--- a/configs/default
+++ b/configs/default
@@ -80,6 +80,9 @@ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
# Program dependencies - specific GL/glut libraries added in Makefiles
APP_LIB_DEPS = -lm
+# GLcore dependencies
+XORG_CFLAGS = `pkg-config --cflags xorg-server`
+GLCORE_LIB_DEPS = -lm -lpthread
# Installation directories (for make install)