renamed compile-run to pico8-musl

master
bx 2021-12-27 07:34:42 +00:00
parent 563625edfe
commit 06eb573d04
2 changed files with 7 additions and 2 deletions

View File

@ -1,2 +0,0 @@
#!/bin/bash
gcc -fPIC -shared -o pico8-fill-in.so pico8-fill-in.c && LD_PRELOAD="/usr/lib64/libc.so ./pico8-fill-in.so" ~/pico8/pico8_dyn -windowed 1

7
pico8-musl.sh 100755
View File

@ -0,0 +1,7 @@
#!/bin/bash
# USAGE: compile-run.sh path-to-your-pico8_dyn-executable
patchelf $1 --set-interpreter /usr/lib64/libc.so
gcc -fPIC -shared -o pico8-fill-in.so pico8-fill-in.c && LD_PRELOAD="/usr/lib64/libc.so ./pico8-fill-in.so" $1 -windowed 1