diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-04-27 15:47:57 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-04-27 17:36:11 -0300 |
commit | 007000f68b4d009d2d2229a56c36efe4e0d7a02f (patch) | |
tree | dc27fb83e915be67521860ff14dd35fc0cd46a2f /recipes-multimedia/gstreamer/gst-fsl-plugin | |
parent | 8f27af146b18a87d56401ed221e6fa1c56de45a3 (diff) | |
download | meta-fsl-arm-007000f68b4d009d2d2229a56c36efe4e0d7a02f.tar.gz |
gst-fsl-plugin: Fix CFLAGS query using pkgconfig
The pkgconfig queries cannot be appended without explicit spaces as
pkgconfig does not print trailing spaces by itself.
Change-Id: Ifa0d25ea715c1a517a81d971c9d5c46ffa9c64e6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia/gstreamer/gst-fsl-plugin')
-rw-r--r-- | recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch b/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch new file mode 100644 index 0000000..16a75fc --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 3312c9fbc80b7b7fe3e28b24c4b8955aa3d5bf18 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Mon, 27 Apr 2015 15:36:06 -0300 | ||
4 | Subject: [PATCH] configure.ac: Fix query of CFLAGS to pkgconfig | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | The pkgconfig queries cannot be appended without explicit spaces as | ||
8 | pkgconfig does not print trailing spaces by itself. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
13 | --- | ||
14 | configure.ac | 14 +++++++------- | ||
15 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 86da399..276728f 100755 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -175,15 +175,15 @@ AC_CHECK_LIB(rt, clock_gettime) | ||
22 | AC_SUBST(RT_CFLAGS) | ||
23 | AC_SUBST(RT_LIBS) | ||
24 | |||
25 | -FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null` | ||
26 | -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null` | ||
27 | -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null` | ||
28 | -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null` | ||
29 | +FSL_MM_CORE_CFLAGS="`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null` \ | ||
30 | + `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null` \ | ||
31 | + `$PKG_CONFIG --cflags libfslparser 2>/dev/null` \ | ||
32 | + `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`" | ||
33 | AC_SUBST(FSL_MM_CORE_CFLAGS) | ||
34 | |||
35 | -FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null` | ||
36 | -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null` | ||
37 | -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null` | ||
38 | +FSL_MM_CORE_LIBS="`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null` \ | ||
39 | + `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null` \ | ||
40 | + `$PKG_CONFIG --libs libfslparser 2>/dev/null`" | ||
41 | AC_SUBST(FSL_MM_CORE_LIBS) | ||
42 | |||
43 | EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_" | ||
44 | -- | ||
45 | 2.1.4 | ||
46 | |||