summaryrefslogtreecommitdiff
path: root/sys/d3dvideosink/Makefile.am
diff options
context:
space:
mode:
authorRaimo Järvi <raimo.jarvi@gmail.com>2011-06-07 13:55:38 +0300
committerDavid Schleef <ds@schleef.org>2011-06-25 18:08:45 -0700
commit59aaf71b0bc2534a082e423064b9d2fe095abc59 (patch)
tree1cee3ebcfd40ec17431e07d4b698b28b83952d64 /sys/d3dvideosink/Makefile.am
parent40ee3369a0e0c555e94cdec06ab8b1303ca3c094 (diff)
downloadgstreamer-plugins-bad-59aaf71b0bc2534a082e423064b9d2fe095abc59.tar.gz
d3dvideosink: Fix configure check and makefiles
Fixes bug #652035.
Diffstat (limited to 'sys/d3dvideosink/Makefile.am')
-rw-r--r--sys/d3dvideosink/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/d3dvideosink/Makefile.am b/sys/d3dvideosink/Makefile.am
index 6e0ecf316..183e460cf 100644
--- a/sys/d3dvideosink/Makefile.am
+++ b/sys/d3dvideosink/Makefile.am
@@ -6,8 +6,9 @@ libgstd3dvideosink_la_SOURCES = d3dvideosink.c directx/d3d.c directx/dx.c \
directx/directx11/dx11.c directx/directx11/dx11_d3d.c
libgstd3dvideosink_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_CFLAGS)
libgstd3dvideosink_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
- -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR)
-libgstd3dvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lgdi32
+ -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \
+ $(DIRECT3D_LIBS)
+libgstd3dvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstd3dvideosink_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = d3dvideosink.h directx/d3d.h directx/dx.h directx/directx.h \