repo/core/musl/build

18 lines
348 B
Plaintext
Raw Normal View History

2019-06-02 00:59:10 -06:00
#!/bin/sh -e
2019-06-18 09:20:40 -06:00
./configure \
2019-09-04 10:46:23 -06:00
--prefix=/usr \
--syslibdir=/usr/lib
2019-06-02 00:59:10 -06:00
make
make DESTDIR="$1" install
2019-07-20 23:09:29 -06:00
mkdir -p "$1/usr/bin"
2019-07-20 11:05:36 -06:00
ln -s "/usr/lib/ld-musl-x86_64.so.1" "$1/usr/bin/ldd"
2019-09-04 10:46:23 -06:00
# Install BSD compatibility headers.
mkdir -p "$1/usr/include/sys"
cp cdefs.h "$1/usr/include/sys"
cp queue.h "$1/usr/include/sys"
cp tree.h "$1/usr/include/sys"