diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-02-10 15:37:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 17:01:42 +0000 |
commit | 41a83ccfe50ec69425a4828fb5836d38d3f99e67 (patch) | |
tree | 9c8242d8aa434df67787b4a81071a79399469c4c /meta | |
parent | 754847f34b1f2cfc9683b143ca9e9e6ef054037f (diff) | |
download | poky-41a83ccfe50ec69425a4828fb5836d38d3f99e67.tar.gz |
guile: fix cross configure failure
[YOCTO #1978]
Fixing the cross configure failure by not searching libltdl and libgmp
in includedir and libdir.
(From OE-Core rev: e5ad03093dfc4364d1407183f458df79f347c7a1)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.3.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.3.bb b/meta/recipes-devtools/guile/guile_2.0.3.bb index f6f7a8ecd3..729aed0402 100644 --- a/meta/recipes-devtools/guile/guile_2.0.3.bb +++ b/meta/recipes-devtools/guile/guile_2.0.3.bb | |||
@@ -24,7 +24,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ | |||
24 | SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8" | 24 | SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8" |
25 | SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08" | 25 | SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08" |
26 | 26 | ||
27 | PR = "r2" | 27 | PR = "r3" |
28 | 28 | ||
29 | inherit autotools gettext | 29 | inherit autotools gettext |
30 | BBCLASSEXTEND = "native" | 30 | BBCLASSEXTEND = "native" |
@@ -33,6 +33,8 @@ DEPENDS = "libunistring bdwgc gmp libtool libffi" | |||
33 | # add guile-native only to the target recipe's DEPENDS | 33 | # add guile-native only to the target recipe's DEPENDS |
34 | DEPENDS += "${@['guile-native', ''][d.getVar('PN', 1) != 'guile']}" | 34 | DEPENDS += "${@['guile-native', ''][d.getVar('PN', 1) != 'guile']}" |
35 | 35 | ||
36 | EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix', ''][bb.data.inherits_class('native',d)]}" | ||
37 | |||
36 | do_configure_prepend() { | 38 | do_configure_prepend() { |
37 | mkdir -p po | 39 | mkdir -p po |
38 | } | 40 | } |