diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-26 23:22:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-27 00:29:00 +0100 |
commit | d3e0beed9eef53018158c9f999cd20b44629aa61 (patch) | |
tree | 18c980f917054f2b88410c6cdff6648e55c2d3f2 /meta/recipes-devtools/guile | |
parent | 37873380259d39c105d45243e6ce0c88b18a550e (diff) | |
download | poky-d3e0beed9eef53018158c9f999cd20b44629aa61.tar.gz |
guile: Deal with hardcoded path issues
Without this build of autogen-native break if the guile-native package has been
recloated.
(From OE-Core rev: 644b7503c37fd73730dd3d7841463b158b8934ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile')
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.3.bb | 7 |
1 files changed, 6 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 c27a8c00be..b638a180dd 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 = "r3" | 27 | PR = "r4" |
28 | 28 | ||
29 | inherit autotools gettext | 29 | inherit autotools gettext |
30 | BBCLASSEXTEND = "native" | 30 | BBCLASSEXTEND = "native" |
@@ -56,6 +56,11 @@ do_compile_append() { | |||
56 | 56 | ||
57 | do_install_append_virtclass-native() { | 57 | do_install_append_virtclass-native() { |
58 | install -m 0755 ${D}${bindir}/guile ${D}${bindir}/${HOST_SYS}-guile | 58 | install -m 0755 ${D}${bindir}/guile ${D}${bindir}/${HOST_SYS}-guile |
59 | |||
60 | create_wrapper ${D}/${bindir}/guile \ | ||
61 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 | ||
62 | create_wrapper ${D}${bindir}/${HOST_SYS}-guile | ||
63 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 | ||
59 | } | 64 | } |
60 | 65 | ||
61 | SYSROOT_PREPROCESS_FUNCS = "guile_cross_config" | 66 | SYSROOT_PREPROCESS_FUNCS = "guile_cross_config" |