repo/extra/gcompat/build

10 lines
179 B
Plaintext
Raw Normal View History

2020-07-17 05:07:29 -06:00
#!/bin/sh -e
sed -i 's|/lib|/usr/lib|g' Makefile
2020-07-17 05:23:12 -06:00
make LINKER_PATH=/usr/lib/ld-musl-x86_64.so.1
2020-07-17 05:07:29 -06:00
make DESTDIR="$1" install
2020-07-17 05:13:16 -06:00
ln -s ld-linux.so.2 "$1/usr/lib/ld-linux-x86-64.so.2"