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>
This commit is contained in:
parent
ea7818b8b5
commit
a0bfdfa912
|
@ -24,13 +24,13 @@ inherit autotools binconfig pkgconfig
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
# The follow link files link to corresponding png12*.h and libpng12* files
|
# The follow link files link to corresponding png12*.h and libpng12* files
|
||||||
# They conflict with higher verison, so drop them
|
# They conflict with higher verison, so drop them
|
||||||
unlink ${D}/${includedir}/png.h
|
rm ${D}/${includedir}/png.h
|
||||||
unlink ${D}/${includedir}/pngconf.h
|
rm ${D}/${includedir}/pngconf.h
|
||||||
|
|
||||||
unlink ${D}/${libdir}/libpng.la
|
rm ${D}/${libdir}/libpng.la
|
||||||
unlink ${D}/${libdir}/libpng.so
|
rm ${D}/${libdir}/libpng.so
|
||||||
unlink ${D}/${libdir}/libpng.a || true
|
rm ${D}/${libdir}/libpng.a || true
|
||||||
unlink ${D}/${libdir}/pkgconfig/libpng.pc
|
rm ${D}/${libdir}/pkgconfig/libpng.pc
|
||||||
|
|
||||||
unlink ${D}/${bindir}/libpng-config
|
rm ${D}/${bindir}/libpng-config
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue