summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-09 10:15:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 14:49:48 +0000
commitd292641ca52072a3629e589cc413344310d35280 (patch)
tree1bbd5b2f58e934167978d5f63c9e282c0795c032
parent402080c0a77443f541fa3d658b79f3fba327279d (diff)
downloadopenembedded-core-d292641ca52072a3629e589cc413344310d35280.tar.gz
openembedded-core-d292641ca52072a3629e589cc413344310d35280.tar.bz2
openembedded-core-d292641ca52072a3629e589cc413344310d35280.zip
libpng12: Use rm instead of unlink
Everything else in the system manages fine with rm, use rm instead of unlink here too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-lsb4/libpng/libpng12_1.2.57.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
index 0d5a2c4326..9f74f5fdb5 100644
--- a/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
+++ b/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
@@ -24,13 +24,13 @@ inherit autotools binconfig pkgconfig
do_install_append() {
# The follow link files link to corresponding png12*.h and libpng12* files
# They conflict with higher verison, so drop them
- unlink ${D}/${includedir}/png.h
- unlink ${D}/${includedir}/pngconf.h
+ rm ${D}/${includedir}/png.h
+ rm ${D}/${includedir}/pngconf.h
- unlink ${D}/${libdir}/libpng.la
- unlink ${D}/${libdir}/libpng.so
- unlink ${D}/${libdir}/libpng.a || true
- unlink ${D}/${libdir}/pkgconfig/libpng.pc
+ rm ${D}/${libdir}/libpng.la
+ rm ${D}/${libdir}/libpng.so
+ rm ${D}/${libdir}/libpng.a || true
+ rm ${D}/${libdir}/pkgconfig/libpng.pc
- unlink ${D}/${bindir}/libpng-config
+ rm ${D}/${bindir}/libpng-config
}