repo/extra/gcompat/build
2020-07-17 14:23:12 +03:00

10 lines
179 B
Bash
Executable File

#!/bin/sh -e
sed -i 's|/lib|/usr/lib|g' 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"