summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-21 03:08:47 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-24 10:38:43 +0100
commit18137c5fe092afb2812d32fd2c121aa29ad702de (patch)
tree295f79be7f9b427fb69b70561a5574beed7d9c9e /src/gallium/targets/vdpau
parent1cb8bba499588cd704a9ee186afd1524be842322 (diff)
downloadexternal_mesa3d-18137c5fe092afb2812d32fd2c121aa29ad702de.zip
external_mesa3d-18137c5fe092afb2812d32fd2c121aa29ad702de.tar.gz
external_mesa3d-18137c5fe092afb2812d32fd2c121aa29ad702de.tar.bz2
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 <emil.l.velikov@gmail.com> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gallium/targets/vdpau')
-rw-r--r--src/gallium/targets/vdpau/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
index 440cf22..4d234fb 100644
--- a/src/gallium/targets/vdpau/Makefile.am
+++ b/src/gallium/targets/vdpau/Makefile.am
@@ -37,8 +37,6 @@ libvdpau_gallium_la_LIBADD = \
$(GALLIUM_COMMON_LIB_DEPS)
-if HAVE_GALLIUM_STATIC_TARGETS
-
MEGADRIVERS =
STATIC_TARGET_CPPFLAGS = -DGALLIUM_STATIC_TARGETS=1
STATIC_TARGET_LIB_DEPS = \
@@ -85,6 +83,8 @@ STATIC_TARGET_LIB_DEPS += \
$(RADEON_LIBS)
endif
+if HAVE_GALLIUM_STATIC_TARGETS
+
libvdpau_gallium_la_SOURCES += target.c
libvdpau_gallium_la_CPPFLAGS = $(STATIC_TARGET_CPPFLAGS)
libvdpau_gallium_la_LIBADD += $(STATIC_TARGET_LIB_DEPS)