summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-08-21 09:27:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:57 +0100
commitc448f2d0d13469aad94571e4570277ad53c88f83 (patch)
tree82998990b5959c2e3bc5d3ad15ffb23ad6af1601 /meta/recipes-devtools/expect
parent2bdd29428326d0d35e8e839713761efc22aee0fb (diff)
downloadpoky-c448f2d0d13469aad94571e4570277ad53c88f83.tar.gz
expect: fix shared object file cannot be opened
When we require Expect package in tcl script, we will get following error: couldn't load file "/usr/lib/expect5.45/libexpect5.45.so": /usr/lib/expect5.45/libexpect5.45.so: cannot open shared object file: No such file or directory while executing "load /usr/lib/expect5.45/libexpect5.45.so" ("package ifneeded Expect 5.45" script) invoked from within "package require Expect" (file "hello.tcl" line 3) This patch fixes this issue. (From OE-Core rev: 43813ddfa8cade9ea1c5de24dcd4e275b1486cff) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/expect')
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.bb b/meta/recipes-devtools/expect/expect_5.45.bb
index 970f4a5ccc..3e839a2fe3 100644
--- a/meta/recipes-devtools/expect/expect_5.45.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.bb
@@ -35,6 +35,7 @@ do_install_append() {
35 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 35 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
36 install -m 0755 ${S}/example/* ${D}${libdir}/expect${PV}/ 36 install -m 0755 ${S}/example/* ${D}${libdir}/expect${PV}/
37 rm ${D}${libdir}/expect${PV}/libexpect*.so 37 rm ${D}${libdir}/expect${PV}/libexpect*.so
38 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
38} 39}
39 40
40EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \ 41EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \