fix linux build script

This commit is contained in:
ASNiVOR 2024-11-02 11:01:45 +00:00
parent a04aa8c584
commit 7559e22603
1 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ if [ -z "$BIZHAWKBUILD_HOME" ]; then export BIZHAWKBUILD_HOME="$(realpath "$(dir
if [ -z "$CC" ]; then export CXX="clang"; fi
mkdir -p build
$CC -std=c11 -O3 -fvisibility=hidden -fPIC -shared -s FlooohZ80.c -o build/vrEmu6502.so
$CC -std=c11 -O3 -fvisibility=hidden -fPIC -shared -s vr6502.c -o build/libvrEmu6502.so
cp build/libFlooohZ80.so "$BIZHAWKBUILD_HOME/Assets/dll"
cp build/libvrEmu6502.so "$BIZHAWKBUILD_HOME/Assets/dll"
if [ -e "$BIZHAWKBUILD_HOME/output" ]; then
cp build/libFlooohZ80.so "$BIZHAWKBUILD_HOME/output/dll"
cp build/libvrEmu6502.so "$BIZHAWKBUILD_HOME/output/dll"
fi