summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2008-04-26 12:34:11 +0300
committerGeorge Sapountzis <[email protected]>2008-05-05 18:14:52 +0300
commit2ed0f7278e389ecc0cf568518799a9a8f33b1365 (patch)
tree6da3d05a379c49854ca477a49bda9fe415302bcf /configs
parent2fa2dd3908c783663ca421134cde82e9b6a38a0d (diff)
glcore: Set all external variables in configuration
based on patch by Dan Nicholson <[email protected]>
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)