aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2011-06-23 14:54:26 +0200
committerKoen Kooi <koen@openembedded.org>2011-06-23 14:54:26 +0200
commitea41560b2cadfa184de8122e0395b92fd7c35c39 (patch)
treea5c40bf32ecdecc3c9a0cb79ecaa728df397381c
parent7b10e138c2fa857977d14980b8ab9c84255dd72c (diff)
downloadopenembedded-ea41560b2cadfa184de8122e0395b92fd7c35c39.tar.gz
gstreamer-ti: hack it to build with libtool sysroot enabled
Signed-off-by: Koen Kooi <koen@openembedded.org>
-rw-r--r--recipes/ti/gstreamer-ti.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/ti/gstreamer-ti.inc b/recipes/ti/gstreamer-ti.inc
index 8d355e0e93..eb3890f366 100644
--- a/recipes/ti/gstreamer-ti.inc
+++ b/recipes/ti/gstreamer-ti.inc
@@ -90,6 +90,12 @@ do_configure_prepend() {
}
do_compile() {
+ # Ugly hack approaching:
+ # due to libtool sysroot support and this recipe being machine specific libtool won't find libs from the regular sysroots
+
+ install -d ${STAGING_LIBDIR}
+ ln -sf ${STAGING_DIR}/${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}/${libdir}/lib* ${STAGING_LIBDIR} || true
+
# Recent kernel headers warn against inclusion from userspace
for makefile in $(find ${S} -name "Makefile") ; do
sed -i -e s:-Werror::g $makefile