summaryrefslogtreecommitdiff
path: root/meta/packages/libtool
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-02 13:25:14 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-02 13:25:14 +0000
commit1678395e60681c27d5018890a5b669ac9dc81a3b (patch)
treefa06513c0d7a7d1f361e40045a16b116fc32918e /meta/packages/libtool
parent28fc110e6d633b6c172de57ff77accf0b5b36ce9 (diff)
downloadopenembedded-core-1678395e60681c27d5018890a5b669ac9dc81a3b.tar.gz
openembedded-core-1678395e60681c27d5018890a5b669ac9dc81a3b.tar.bz2
openembedded-core-1678395e60681c27d5018890a5b669ac9dc81a3b.zip
libtool: Fix sysroot preprocess function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libtool')
-rw-r--r--meta/packages/libtool/libtool_2.2.6.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/libtool/libtool_2.2.6.bb b/meta/packages/libtool/libtool_2.2.6.bb
index 7f5f36ce19..789268cbc5 100644
--- a/meta/packages/libtool/libtool_2.2.6.bb
+++ b/meta/packages/libtool/libtool_2.2.6.bb
@@ -1,6 +1,6 @@
require libtool.inc
-PR = "r17"
+PR = "r18"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
file://dolt.m4"
@@ -22,8 +22,8 @@ SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
libtool_sysroot_preprocess () {
if [ "${PN}" == "libtool" ]; then
- rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
- rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
- rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
+ rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/*
+ rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/*
+ rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
fi
}