summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/Makefile.am')
-rw-r--r--src/gallium/targets/dri/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index a09883388a7..9e643775ab7 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -18,6 +18,11 @@ AM_CPPFLAGS += \
-DDRI_TARGET
endif
+if HAVE_GALLIUM_ILO
+AM_CPPFLAGS += \
+ -DDRI_TARGET
+endif
+
if HAVE_GALLIUM_NOUVEAU
AM_CPPFLAGS += \
-DDRI_TARGET