summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/expect')
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.bb b/meta/recipes-devtools/expect/expect_5.45.bb
index b4dfe157ce..ab22a61394 100644
--- a/meta/recipes-devtools/expect/expect_5.45.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.bb
@@ -43,11 +43,16 @@ do_install_append() {
43 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl 43 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
44} 44}
45 45
46# Apparently the public Tcl headers are only in /usr/include/tcl8.6
47# when building for the target.
48TCL_INCLUDE_PATH = ""
49TCL_INCLUDE_PATH_class-target = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6"
50
46EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ 51EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
47 --with-tclinclude=${STAGING_INCDIR}/tcl8.6 \
48 --enable-shared \ 52 --enable-shared \
49 --enable-threads \ 53 --enable-threads \
50 --disable-rpath \ 54 --disable-rpath \
55 ${TCL_INCLUDE_PATH} \
51 " 56 "
52EXTRA_OEMAKE_install = " 'SCRIPTS=' " 57EXTRA_OEMAKE_install = " 'SCRIPTS=' "
53 58
@@ -62,3 +67,5 @@ FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
62FILES_${PN} += "${libdir}/libexpect${PV}.so \ 67FILES_${PN} += "${libdir}/libexpect${PV}.so \
63 ${libdir}/expect${PV}/* \ 68 ${libdir}/expect${PV}/* \
64 " 69 "
70
71BBCLASSEXTEND = "native nativesdk"