summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xvmc/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-21 03:08:47 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:38:43 +0100
commit18137c5fe092afb2812d32fd2c121aa29ad702de (patch)
tree295f79be7f9b427fb69b70561a5574beed7d9c9e /src/gallium/targets/xvmc/Makefile.am
parent1cb8bba499588cd704a9ee186afd1524be842322 (diff)
targets/vl: fix hard-links when building shared pipe-drivers
Make sure that MEGADRIVERS is set in order to create the hardlinks. The variable name is not the most appropriate and will be sorted out in upcoming commits. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/targets/xvmc/Makefile.am')
-rw-r--r--src/gallium/targets/xvmc/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am
index 884bccf348e..0c8f87cd2c5 100644
--- a/src/gallium/targets/xvmc/Makefile.am
+++ b/src/gallium/targets/xvmc/Makefile.am
@@ -32,8 +32,6 @@ libXvMCgallium_la_LIBADD = \
$(GALLIUM_COMMON_LIB_DEPS)
-if HAVE_GALLIUM_STATIC_TARGETS
-
MEGADRIVERS =
STATIC_TARGET_CPPFLAGS = -DGALLIUM_STATIC_TARGETS=1
STATIC_TARGET_LIB_DEPS = \
@@ -58,6 +56,8 @@ STATIC_TARGET_LIB_DEPS += \
$(RADEON_LIBS)
endif
+if HAVE_GALLIUM_STATIC_TARGETS
+
libXvMCgallium_la_SOURCES += target.c
libXvMCgallium_la_CPPFLAGS = $(STATIC_TARGET_CPPFLAGS)
libXvMCgallium_la_LIBADD += $(STATIC_TARGET_LIB_DEPS)