diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-09 10:15:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-10 14:50:11 +0000 |
commit | a0bfdfa9128a0604151e57e6a3d371b2899036ac (patch) | |
tree | cc9d103351067743492093a76e4a211a0989bf72 | |
parent | ea7818b8b52ddbc0c0baa2d5ecb85a8d1f97d844 (diff) | |
download | poky-a0bfdfa9128a0604151e57e6a3d371b2899036ac.tar.gz |
libpng12: Use rm instead of unlink
Everything else in the system manages fine with rm, use rm instead of unlink
here too.
(From OE-Core rev: d292641ca52072a3629e589cc413344310d35280)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-lsb4/libpng/libpng12_1.2.57.bb | 14 |
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 | |||
24 | do_install_append() { | 24 | do_install_append() { |
25 | # The follow link files link to corresponding png12*.h and libpng12* files | 25 | # The follow link files link to corresponding png12*.h and libpng12* files |
26 | # They conflict with higher verison, so drop them | 26 | # They conflict with higher verison, so drop them |
27 | unlink ${D}/${includedir}/png.h | 27 | rm ${D}/${includedir}/png.h |
28 | unlink ${D}/${includedir}/pngconf.h | 28 | rm ${D}/${includedir}/pngconf.h |
29 | 29 | ||
30 | unlink ${D}/${libdir}/libpng.la | 30 | rm ${D}/${libdir}/libpng.la |
31 | unlink ${D}/${libdir}/libpng.so | 31 | rm ${D}/${libdir}/libpng.so |
32 | unlink ${D}/${libdir}/libpng.a || true | 32 | rm ${D}/${libdir}/libpng.a || true |
33 | unlink ${D}/${libdir}/pkgconfig/libpng.pc | 33 | rm ${D}/${libdir}/pkgconfig/libpng.pc |
34 | 34 | ||
35 | unlink ${D}/${bindir}/libpng-config | 35 | rm ${D}/${bindir}/libpng-config |
36 | } | 36 | } |