1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

expect: Fix configure error for nativesdk

Fixed:
$ bitbake nativesdk-expect
checking for Tcl public headers... configure: error: tcl.h not found.  Please specify its location with --with-tclinclude

(From OE-Core rev: bd8ba628b0ff1ad3603b08981467edf5e36ec024)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2019-09-26 10:51:43 +08:00
committed by Richard Purdie
parent b404c0cd3c
commit fe8d87e083
@@ -44,9 +44,9 @@ do_install_append() {
} }
# Apparently the public Tcl headers are only in /usr/include/tcl8.6 # Apparently the public Tcl headers are only in /usr/include/tcl8.6
# when building for the target. # when building for the target and nativesdk.
TCL_INCLUDE_PATH = "" TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6"
TCL_INCLUDE_PATH_class-target = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" TCL_INCLUDE_PATH_class-native = ""
EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
--enable-shared \ --enable-shared \