[oe-commits] Koen Kooi : gstreamer-ti: hack it to build with libtool sysroot enabled
git version control
git at git.openembedded.org
Thu Jun 23 12:55:08 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ea41560b2cadfa184de8122e0395b92fd7c35c39
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=ea41560b2cadfa184de8122e0395b92fd7c35c39
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Jun 23 14:54:26 2011 +0200
gstreamer-ti: hack it to build with libtool sysroot enabled
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/ti/gstreamer-ti.inc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/recipes/ti/gstreamer-ti.inc b/recipes/ti/gstreamer-ti.inc
index 8d355e0..eb3890f 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
More information about the Openembedded-commits
mailing list