summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwais Belal <awais.belal@gmail.com>2014-12-05 16:40:10 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-11 11:26:07 +0000
commit90c89e46377c3b9a04ee3616cd82ad6001aa6896 (patch)
treec47c85f815b7dbf138f210cb9f418b03c34f7dff
parent4c33baa4a95aee26c6bf6fd0c7ec827ff63a9e62 (diff)
downloadopenembedded-core-90c89e46377c3b9a04ee3616cd82ad6001aa6896.tar.gz
openembedded-core-90c89e46377c3b9a04ee3616cd82ad6001aa6896.tar.bz2
openembedded-core-90c89e46377c3b9a04ee3616cd82ad6001aa6896.zip
gstreamer1.0-libav: specify proper cross-prefix
This avoids a compile failure locating ranlib by providing the correct cross-prefix for build. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.1.bb3
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.1.bb
index 8bba8312bc..f962ff0608 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.1.bb
@@ -18,7 +18,8 @@ SRC_URI[sha256sum] = "fc125521187fa84f3210269a0eecc51f8a856802f1ca4bb251f118dab9
LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
--cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
--ranlib='${RANLIB}' \
- ${GSTREAMER_1_0_DEBUG}"
+ ${GSTREAMER_1_0_DEBUG} \
+ --cross-prefix='${HOST_PREFIX}'"
S = "${WORKDIR}/gst-libav-${PV}"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
index 5ce28ccbe7..aa2de69b55 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
@@ -18,7 +18,8 @@ SRCREV = "127202d6f65584891dabf92be031f0d170b0e7f1"
LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
--cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
- ${GSTREAMER_1_0_DEBUG}"
+ ${GSTREAMER_1_0_DEBUG} \
+ --cross-prefix='${HOST_PREFIX}'"
do_configure() {
./autogen.sh --noconfigure