Patchwork [1/1] guile: fix cross configure failure

login
register
mail settings
Submitter Lianhao Lu
Date Feb. 10, 2012, 7:37 a.m.
Message ID <c78c9fa1adaadd399a114a7d41bf10baa5e67c8f.1328859334.git.lianhao.lu@intel.com>
Download mbox | patch
Permalink /patch/21085/
State Accepted
Commit e5ad03093dfc4364d1407183f458df79f347c7a1
Headers show

Comments

Lianhao Lu - Feb. 10, 2012, 7:37 a.m.
[YOCTO #1978]
Fixing the cross configure failure by not searching libltdl and libgmp
in includedir and libdir.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 meta/recipes-devtools/guile/guile_2.0.3.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-devtools/guile/guile_2.0.3.bb b/meta/recipes-devtools/guile/guile_2.0.3.bb
index f6f7a8e..729aed0 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 \
 SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8"
 SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08"
 
-PR = "r2"
+PR = "r3"
 
 inherit autotools gettext
 BBCLASSEXTEND = "native"
@@ -33,6 +33,8 @@  DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
 DEPENDS += "${@['guile-native', ''][d.getVar('PN', 1) != 'guile']}"
 
+EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix', ''][bb.data.inherits_class('native',d)]}"
+
 do_configure_prepend() {
 	mkdir -p po
 }