summaryrefslogtreecommitdiff
path: root/sys/vdpau
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-24 23:57:16 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-24 23:57:16 +0100
commit730c59e52a96d401ada337da2e78034f6144081d (patch)
treef112e0cca120d035022f2ba1e8c66325ffa1bcaa /sys/vdpau
parent423418a51b2f96c219745f9fdf5b201ddfc07de1 (diff)
vdpay: fix build in uninstalled setup
Add GST_PLUGINS_BASE_CFLAGS to CFLAGS so it finds the gst/video/video.h headers in an uninstalled setup. Also reshuffle order.
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/basevideodecoder/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/vdpau/basevideodecoder/Makefile.am b/sys/vdpau/basevideodecoder/Makefile.am
index 28c5794ce..76bdea556 100644
--- a/sys/vdpau/basevideodecoder/Makefile.am
+++ b/sys/vdpau/basevideodecoder/Makefile.am
@@ -4,11 +4,13 @@ libgstbasevideodecoder_la_SOURCES = \
gstvideoframe.c \
gstbasevideodecoder.c
-libgstbasevideodecoder_la_CFLAGS = $(GST_CFLAGS) \
+libgstbasevideodecoder_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
-DGstBaseVideoDecoder=SatBaseVideoDecoder \
-DGstBaseVideoDecoderClass=SatBaseVideoDecoderClass
-libgstbasevideodecoder_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
- $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR)
+libgstbasevideodecoder_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) \
+ $(GST_BASE_LIBS) $(GST_LIBS)
+
libgstbasevideodecoder_la_LDFLAGS = $(GST_ALL_LDFLAGS) -module -avoid-version
noinst_HEADERS = \