summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/dri/Makefile.am')
-rw-r--r--src/gallium/state_trackers/dri/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
index bda75c3..aa196eb 100644
--- a/src/gallium/state_trackers/dri/Makefile.am
+++ b/src/gallium/state_trackers/dri/Makefile.am
@@ -40,6 +40,11 @@ AM_CPPFLAGS = \
if HAVE_GALLIUM_STATIC_TARGETS
AM_CPPFLAGS += \
-DGALLIUM_STATIC_TARGETS=1
+
+if HAVE_GALLIUM_SOFTPIPE
+AM_CPPFLAGS += \
+ -DGALLIUM_SOFTPIPE
+endif # HAVE_GALLIUM_SOFTPIPE
endif # HAVE_GALLIUM_STATIC_TARGETS
noinst_LTLIBRARIES = libdri.la