diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-09-26 10:51:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:02:16 +0100 |
commit | fe8d87e0836be8c7910a86e2cc7bd6dccb48aa21 (patch) | |
tree | 454abe50a154fb6fa103a213710d564e48fcffcc /meta | |
parent | b404c0cd3c12958e705f666c29920816912c2d56 (diff) | |
download | poky-fe8d87e0836be8c7910a86e2cc7bd6dccb48aa21.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/expect/expect_5.45.4.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 96eacd9293..5f59083ad2 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb | |||
@@ -44,9 +44,9 @@ do_install_append() { | |||
44 | } | 44 | } |
45 | 45 | ||
46 | # Apparently the public Tcl headers are only in /usr/include/tcl8.6 | 46 | # Apparently the public Tcl headers are only in /usr/include/tcl8.6 |
47 | # when building for the target. | 47 | # when building for the target and nativesdk. |
48 | TCL_INCLUDE_PATH = "" | 48 | TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" |
49 | TCL_INCLUDE_PATH_class-target = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" | 49 | TCL_INCLUDE_PATH_class-native = "" |
50 | 50 | ||
51 | EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ | 51 | EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ |
52 | --enable-shared \ | 52 | --enable-shared \ |