Use proper configure flags to avoid manual library moving

This commit is contained in:
Mark Vainomaa 2018-11-11 01:18:01 +02:00
parent 2a8cc2de54
commit e292751471
Signed by: mikroskeem
GPG Key ID: 1B3F9523B542D315

View File

@ -20,7 +20,8 @@ build () {
mkdir build && cd build mkdir build && cd build
../configure \ ../configure \
--prefix=/usr --prefix=/usr \
--syslibdir=/usr/lib
make make
} }
@ -28,10 +29,6 @@ build () {
package () { package () {
cd "${srcdir}/musl-${pkgver}/build" cd "${srcdir}/musl-${pkgver}/build"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# Fix mislocated ld-musl-*.so
mv "${pkgdir}"/lib/ld-musl*.so* "${pkgdir}"/usr/lib
rmdir "${pkgdir}"/lib
} }
. ../common.sh . ../common.sh