summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/va/Makefile.am')
-rw-r--r--src/gallium/state_trackers/va/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/Makefile.am b/src/gallium/state_trackers/va/Makefile.am
index 2a93a904346..348cfe17759 100644
--- a/src/gallium/state_trackers/va/Makefile.am
+++ b/src/gallium/state_trackers/va/Makefile.am
@@ -30,6 +30,15 @@ AM_CFLAGS = \
$(VA_CFLAGS) \
-DVA_DRIVER_INIT_FUNC="__vaDriverInit_$(VA_MAJOR)_$(VA_MINOR)"
+AM_CFLAGS += \
+ $(GALLIUM_PIPE_LOADER_DEFINES) \
+ -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
+
+if HAVE_GALLIUM_STATIC_TARGETS
+AM_CFLAGS += \
+ -DGALLIUM_STATIC_TARGETS=1
+endif
+
AM_CPPFLAGS = \
-I$(top_srcdir)/include