diff options
Diffstat (limited to 'src/gallium/targets/vdpau/Makefile.am')
-rw-r--r-- | src/gallium/targets/vdpau/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am index 440cf2243a4..4d234fbab8c 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) |