From a4d6e25587cc230cbb2ce38089114f226036885b Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 18 Jun 2008 16:50:47 +0000 Subject: glib-2.0-native: workaround libtool problem --- packages/glib-2.0/glib-2.0-native_2.16.1.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/glib-2.0/glib-2.0-native_2.16.1.bb b/packages/glib-2.0/glib-2.0-native_2.16.1.bb index d0d2131158..4a610c4a74 100644 --- a/packages/glib-2.0/glib-2.0-native_2.16.1.bb +++ b/packages/glib-2.0/glib-2.0-native_2.16.1.bb @@ -2,10 +2,19 @@ require glib-2.0_${PV}.bb FILESPATH = "${FILE_DIRNAME}/glib-2.0-${PV}:${FILE_DIRNAME}/files" DEPENDS = "gtk-doc-native" -PR = "r0" +PR = "r1" inherit native +do_configure_prepend() { + if [ -e ${S}/${TARGET_SYS}-libtool ] ; then + echo "${TARGET_SYS}-libtool already present" + else + cp ${STAGING_BINDIR}/${TARGET_SYS}-libtool ${S} + fi + +} + do_stage () { install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ -- cgit v1.2.3