diff options
-rw-r--r-- | meta/recipes-devtools/expect/expect_5.45.bb | 9 |
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. | ||
48 | TCL_INCLUDE_PATH = "" | ||
49 | TCL_INCLUDE_PATH_class-target = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" | ||
50 | |||
46 | EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ | 51 | EXTRA_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 | " |
52 | EXTRA_OEMAKE_install = " 'SCRIPTS=' " | 57 | EXTRA_OEMAKE_install = " 'SCRIPTS=' " |
53 | 58 | ||
@@ -62,3 +67,5 @@ FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \ | |||
62 | FILES_${PN} += "${libdir}/libexpect${PV}.so \ | 67 | FILES_${PN} += "${libdir}/libexpect${PV}.so \ |
63 | ${libdir}/expect${PV}/* \ | 68 | ${libdir}/expect${PV}/* \ |
64 | " | 69 | " |
70 | |||
71 | BBCLASSEXTEND = "native nativesdk" | ||