summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-14 14:34:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:46 +0100
commit71135b348e1d72e908caa6f8479100ad9739c5bb (patch)
tree0840ce29f8ba088bc156cb62a103a665e2781b55 /meta/recipes-core
parent82b7504691f70fffb64b206bd1ca1ebc3cd03ac9 (diff)
downloadpoky-71135b348e1d72e908caa6f8479100ad9739c5bb.tar.gz
glib-2.0: Make the gtester-report installation conditional
This isn't built/present under mingw builds so make installation conditional upon its presence. (From OE-Core rev: 53903afae4fe841c0d394172201660d5e3fad5d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ce908cf0f2..373f96243a 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -55,7 +55,9 @@ ARM_INSTRUCTION_SET = "arm"
55USE_NLS = "yes" 55USE_NLS = "yes"
56 56
57do_install_append () { 57do_install_append () {
58 sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|' 58 if [ -f ${D}${bindir}/gtester-report ]; then
59 sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|'
60 fi
59 61
60 # Remove some unpackaged files 62 # Remove some unpackaged files
61 rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc 63 rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc