libtool-cross: Ensure staged libtool is the patched version

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3981 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-03-09 02:10:11 +00:00
parent 0e82382c5b
commit cd11b9ec41

View File

@@ -1,7 +1,7 @@
require libtool.inc
require libtool_${PV}.bb
PR = "r9"
PR = "r10"
PACKAGES = ""
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
@@ -18,7 +18,7 @@ prefix = "${STAGING_DIR_NATIVE}${layout_prefix}"
exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}"
bindir = "${STAGING_BINDIR_NATIVE}"
do_compile () {
do_configure_prepend () {
rm -f ltmain.shT
date=`/bin/sh ./mkstamp < ./ChangeLog` && \
sed -e 's/@''PACKAGE@/libtool/' -e 's/@''VERSION@/1.5.10/' \
@@ -28,6 +28,10 @@ do_compile () {
cp ltmain.sh ./libltdl/
}
do_compile () {
:
}
do_stage () {
install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool
install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/