From ea41560b2cadfa184de8122e0395b92fd7c35c39 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 23 Jun 2011 14:54:26 +0200 Subject: gstreamer-ti: hack it to build with libtool sysroot enabled Signed-off-by: Koen Kooi --- recipes/ti/gstreamer-ti.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit 1.2.3-korg