summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i915/Makefile')
-rw-r--r--src/mesa/drivers/dri/i915/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/Makefile b/src/mesa/drivers/dri/i915/Makefile
index 37f15aa7671..788e78654eb 100644
--- a/src/mesa/drivers/dri/i915/Makefile
+++ b/src/mesa/drivers/dri/i915/Makefile
@@ -64,7 +64,8 @@ DRIVER_DEFINES = -I../intel -I../intel/server -DI915 \
$(shell pkg-config libdrm --atleast-version=2.3.1 \
&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
-DRI_LIB_DEPS += -ldrm_intel
+INCLUDES += $(INTEL_CFLAGS)
+DRI_LIB_DEPS += $(INTEL_LIBS)
include ../Makefile.template