[OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC

Khem Raj raj.khem at gmail.com
Tue Jul 5 15:15:41 UTC 2016


On Mon, Jul 4, 2016 at 11:20 PM, Zhenhua Luo <zhenhua.luo at nxp.com> wrote:
> TCL_INCLUDE_SPEC -I+<includedir> and TCL_LIB_SPEC -L+${libdir} break
> the cross-compile of packages which require tcl headers and libraries.
>
> One example is that postgresql configure failed at the following error:
> | checking for tcl.h... no
> | configure: error: header file <tcl.h> is required for Tcl
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
> ---
>  meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> index 46fc8a7..d75232b 100644
> --- a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> +++ b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> @@ -56,8 +56,6 @@ do_install() {
>         ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
>         sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
>         sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
> -       sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
> -       sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh

does this now include some of your host headers in build then ?

>         install -d ${D}${bindir_crossscripts}
>         install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
>         install -m 0755 tclConfig.sh ${D}${libdir}
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list