diff --git a/linux/musl/build.sh b/linux/musl/build.sh index 8c2fd72..36c962b 100644 --- a/linux/musl/build.sh +++ b/linux/musl/build.sh @@ -38,8 +38,10 @@ package() { rm $pkgdir/lib/ld-musl-$ARCH.so.1 mv $pkgdir/$PREFIX/lib/libc.so $pkgdir/lib/ld-musl-$ARCH.so.1 ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/lib/libc.so - [ -z "$FOR_CROSS" ] && install -d $pkgdir/$PREFIX/bin - [ -z "$FOR_CROSS" ] && ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/bin/ldd + if [ -z "$FOR_CROSS" ]; then + install -d $pkgdir/$PREFIX/bin + ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/bin/ldd + fi } backup() {