2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-16 20:52:28 +00:00
repo/extra/gcompat/build
2021-07-03 20:42:26 +00:00

11 lines
197 B
Bash
Executable File

#!/bin/sh -e
sed 's|/lib|/usr/lib|g' Makefile > _
mv -f _ Makefile
make LINKER_PATH=/usr/lib/ld-musl-x86_64.so.1
make DESTDIR="$1" install
ln -s ld-linux.so.2 "$1/usr/lib/ld-linux-x86-64.so.2"