2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 00:10:05 -07:00
repo/core/musl/build
Muhammad Herdiansyah 8231e513c9 musl: fix directories
2019-07-21 12:09:29 +07:00

14 lines
216 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
mv "$1/lib/ld-musl-x86_64.so.1" "$1/usr/lib"
rmdir "$1/lib"
mkdir -p "$1/usr/bin"
ln -s "/usr/lib/ld-musl-x86_64.so.1" "$1/usr/bin/ldd"