summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-18 16:50:47 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-18 16:50:47 +0000
commita4d6e25587cc230cbb2ce38089114f226036885b (patch)
treecca196d429ca64ac67e70a60ab9983773747d860
parentca3257e6a725df5c66524b19dfdcb73d1fe782a3 (diff)
glib-2.0-native: workaround libtool problem
-rw-r--r--packages/glib-2.0/glib-2.0-native_2.16.1.bb11
1 files changed, 10 insertions, 1 deletions
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}/