mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
musl: prevent errors if do_install is run more than once
(From OE-Core rev: 3d4c1e0d94175f8c782e94725d365e5e1d1178c1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8162e72b06
commit
6e0ce03ff7
@@ -57,10 +57,11 @@ do_install() {
|
||||
oe_runmake install DESTDIR='${D}'
|
||||
|
||||
install -d ${D}${bindir}
|
||||
rm -f ${D}${bindir}/ldd
|
||||
lnr ${D}${libdir}/libc.so ${D}${bindir}/ldd
|
||||
for l in crypt dl m pthread resolv rt util xnet
|
||||
do
|
||||
ln -s libc.so ${D}${libdir}/lib$l.so
|
||||
ln -sf libc.so ${D}${libdir}/lib$l.so
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user