mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
expect: replace the STAGING_INCDIR with includedir
The build path is included in expect-dev rpm package. It should not set the STAGING_INCDIR statically. The includedir will be replaced with appropriate value in different stage. (From OE-Core rev: 41f74d0a05cec275243271e8e6b4dceb16e4daa4) Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -40,8 +40,7 @@ do_install_append() {
|
|||||||
sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
|
sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
|
||||||
}
|
}
|
||||||
|
|
||||||
EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \
|
EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
|
||||||
--with-tcl=${STAGING_LIBDIR} \
|
|
||||||
--with-tclinclude=${STAGING_INCDIR}/tcl8.6 \
|
--with-tclinclude=${STAGING_INCDIR}/tcl8.6 \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-threads \
|
--enable-threads \
|
||||||
@@ -53,10 +52,10 @@ FILES_${PN}-dbg += "${libdir}/${BPN}${PV}/.debug \
|
|||||||
${libdir}/.debug \
|
${libdir}/.debug \
|
||||||
"
|
"
|
||||||
FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
|
FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
|
||||||
${STAGING_INCDIR}/expect.h \
|
${includedir}/expect.h \
|
||||||
${STAGING_INCDIR}/expect_tcl.h \
|
${includedir}/expect_tcl.h \
|
||||||
${STAGING_INCDIR}/expect_comm.h \
|
${includedir}/expect_comm.h \
|
||||||
${STAGING_INCDIR}/tcldbg.h \
|
${includedir}/tcldbg.h \
|
||||||
${includedir}/*.h \
|
${includedir}/*.h \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user