From: Koen Kooi Date: Wed, 18 Jun 2008 16:50:47 +0000 (+0000) Subject: glib-2.0-native: workaround libtool problem X-Git-Tag: Release-2010-05/1~6672 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d6e25587cc230cbb2ce38089114f226036885b;p=openembedded.git glib-2.0-native: workaround libtool problem --- 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}/