All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC
@ 2016-07-05  6:20 Zhenhua Luo
  2016-07-05 15:15 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Zhenhua Luo @ 2016-07-05  6:20 UTC (permalink / raw)
  To: openembedded-core

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@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
 	install -d ${D}${bindir_crossscripts}
 	install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
 	install -m 0755 tclConfig.sh ${D}${libdir}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-15  7:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05  6:20 [PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC Zhenhua Luo
2016-07-05 15:15 ` Khem Raj
2016-07-06  4:08   ` Zhenhua Luo
2016-07-15  6:13     ` Zhenhua Luo
2016-07-15  6:23       ` Robert Yang
2016-07-15  7:35     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.