aboutsummaryrefslogtreecommitdiffstats
path: root/package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2013-06-11 12:18:41 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-15 23:17:25 +0200
commit7c6a2995ddb045e5c0617997a9f1fe1f4b382571 (patch)
tree44eacc85ce8404971ea9da0d58d78f1d5c9a788e /package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch
parentb31ec9d641e772c90dc646b8feba01fc4129dc88 (diff)
downloadbuildroot-novena-7c6a2995ddb045e5c0617997a9f1fe1f4b382571.tar.gz
buildroot-novena-7c6a2995ddb045e5c0617997a9f1fe1f4b382571.zip
Add gstreamer plugin for Hantro x170
[Peter: Config.in: add comment about glibc dependency] Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch')
-rw-r--r--package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch b/package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch
new file mode 100644
index 000000000..9c32e46cc
--- /dev/null
+++ b/package/multimedia/gst-plugin-x170/gst-plugin-x170-01-correct-CFLAGS.patch
@@ -0,0 +1,28 @@
+The configure script is correctly getting the CFLAGS needed to compile a plugin
+for gstreamer and storing them in GST_BASE_CFLAGS but the Makefiles are never
+making use of those.
+
+We actually have to use AM_CPPFLAGS as AM_CFLAGS is used everywhere but on the
+real compiling rule...
+
+Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
+---
+ src/Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 8cb51d1..6af5d91 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -5,6 +5,8 @@
+ ##############################################################################
+ plugin_LTLIBRARIES = libgstx170.la
+
++AM_CPPFLAGS = @GST_BASE_CFLAGS@
++
+ ##############################################################################
+ # for the next set of variables, rename the prefix if you renamed the .la, #
+ # e.g. libgstplugin_la_SOURCES => libmysomething_la_SOURCES #
+--
+1.8.1.2
+