aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/linux-dri-xcb1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb
index 68acb2f2b16..d61cc7f20cb 100644
--- a/configs/linux-dri-xcb
+++ b/configs/linux-dri-xcb
@@ -37,6 +37,7 @@ ASM_SOURCES =
# Library/program dependencies
EXTRA_LIB_PATH=`pkg-config --libs-only-L x11`
+LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
LIBDRM_LIB = `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 -lm -lpthread -ldl \