diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-06 00:04:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-07 13:40:36 +0100 |
commit | 2a743d65f42e4d2a136b68ed1240762a4d4fb8e5 (patch) | |
tree | 2ebdc25e22e4add3776941245d7258f1e5ba8750 /meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb | |
parent | 02d0a003d603266114512160b209876199241e98 (diff) | |
download | poky-2a743d65f42e4d2a136b68ed1240762a4d4fb8e5.tar.gz |
libart-lgpl: Fix cross compiling
We use standard ISO C data types and get rid of configure guess work
which is iffy in cross compiled environment. Cleans up the re-build as well
since we were deleting art_config.h without considering if the file is
there in first place or not.
(From OE-Core rev: b6a1d8b4a62c6f43c610acb27e935e62dbb75f97)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb')
-rw-r--r-- | meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb index 138461684c..95581b297c 100644 --- a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb +++ b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb | |||
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | |||
5 | PR = "r2" | 5 | PR = "r2" |
6 | 6 | ||
7 | # can't use gnome.oeclass due to _ in filename | 7 | # can't use gnome.oeclass due to _ in filename |
8 | SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2" | 8 | SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \ |
9 | file://libart_lgpl-2.3.21-crosscompile.patch \ | ||
10 | " | ||
9 | 11 | ||
10 | SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302" | 12 | SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302" |
11 | SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa" | 13 | SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa" |
@@ -18,9 +20,3 @@ FILES_${PN} = "${libdir}/*.so.*" | |||
18 | FILES_${PN}-dev += "${bindir}/libart2-config" | 20 | FILES_${PN}-dev += "${bindir}/libart2-config" |
19 | 21 | ||
20 | S = "${WORKDIR}/libart_lgpl-${PV}" | 22 | S = "${WORKDIR}/libart_lgpl-${PV}" |
21 | |||
22 | do_compile_prepend() { | ||
23 | # enforce regeneration of art_config.h | ||
24 | rm ${S}/art_config.h | ||
25 | } | ||
26 | |||