summaryrefslogtreecommitdiff
path: root/configs/linux-dri
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2007-10-25 15:46:40 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-10-25 23:37:25 +0100
commit1d2ff452d4dd8fb7f2f5e53b360b29254fc4db41 (patch)
tree0d76b6ea19f24b56caa2a18f81b464881f3ad15e /configs/linux-dri
parent414a933ad24e11e9655dc00ae55d8753f2021fe5 (diff)
Expand pkg-config flags before invoking the compiler.
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output.
Diffstat (limited to 'configs/linux-dri')
-rw-r--r--configs/linux-dri4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 63e065a40f..936fce9982 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -38,8 +38,8 @@ ASM_SOURCES =
# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib
-LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
-LIBDRM_LIB = `pkg-config --libs libdrm`
+LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm)
+LIBDRM_LIB = $(shell pkg-config --libs libdrm)
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
-lm -lpthread -ldl \