summaryrefslogtreecommitdiffstats
path: root/configs/freebsd-dri
diff options
context:
space:
mode:
Diffstat (limited to 'configs/freebsd-dri')
-rw-r--r--configs/freebsd-dri1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index bce5f01ed09..2ee2112cce0 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -24,6 +24,7 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedan
ASM_SOURCES =
# Library/program dependencies
+LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
LIBDRM_LIB = `pkg-config --libs libdrm`
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread $(LIBDRM_LIB)