Use proper configure flags to avoid manual library moving
This commit is contained in:
parent
2a8cc2de54
commit
e292751471
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user