]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: fix builds on fedora 17
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 16 Apr 2012 08:36:45 +0000 (16:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Apr 2012 21:52:39 +0000 (22:52 +0100)
commit13e6e316d751d0ea3107d5547f6bdd2b74919cad
tree04cc4fdaf633d3944d41640c2df0d6ce8f93d163
parent19255032e7744fce5cbe466e4869ded378d3b4f5
glib-2.0: fix builds on fedora 17

Generally distros keep perl at /usr/bin/perl
Fedora 17 also has /bin/perl

this causes glib-2.0 build on such distros to put perl interpreter path in
the perl scripts as /bin/perl

But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       /bin/perl is needed by libglib-2.0-utils-2.30.3-r0.ppc603e
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed

[YOCTO #2304]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb