From e4e33526e4ce783fa6cac57c73715dce73576c18 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 2 Jun 2008 10:18:56 +0000 Subject: libtool cross 2.2.4: check for dolt.m4 before trying to install it --- packages/libtool/libtool-cross_2.2.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/libtool/libtool-cross_2.2.4.bb') diff --git a/packages/libtool/libtool-cross_2.2.4.bb b/packages/libtool/libtool-cross_2.2.4.bb index 1c3b13c5ce..a8dadc25d2 100644 --- a/packages/libtool/libtool-cross_2.2.4.bb +++ b/packages/libtool/libtool-cross_2.2.4.bb @@ -37,9 +37,12 @@ do_stage () { install -c -m 0644 ${S}/libltdl/config/ltmain.sh ${STAGING_DATADIR}/libtool/ install -c -m 0644 ${S}/libltdl/m4/libtool.m4 ${STAGING_DATADIR}/aclocal/ install -c -m 0644 ${S}/libltdl/m4/ltdl.m4 ${STAGING_DATADIR}/aclocal/ - install -c -m 0644 ${WORKDIR}/dolt.m4 ${STAGING_DATADIR}/aclocal/ + if [ -e ${WORKDIR}/dolt.m4 ] ; then + install -c -m 0644 ${WORKDIR}/dolt.m4 ${STAGING_DATADIR}/aclocal/ + fi } + do_install () { : } -- cgit v1.2.3