tcl: fix sed command in do_install
The -I= and -L= is used for cross compile, target doesn't need, and binconfig.class can handle usr/bin/crossscripts/tclConfig.sh. Fix do_configure error for the recipe which uses tclConfig.sh, for example, postgresql.do_configure: configure: error: header file <tcl.h> is required for Tcl (From OE-Core rev: c6f24481b2fc965eeebca5508d68f1b9e5b3f212) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
bffb0fbfcc
commit
69dfc58449
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue