mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-05 19:05:37 +00:00
32c23f3e35
Example usage, to build i386 libs: docker build -t sdl2-i386 -f Dockerfile.i386 . mkdir i386 docker run -v `pwd`/compile:/entry -v `pwd`/i386:/io sdl2-i386 s/i386/amd64 to build for amd64.
12 lines
157 B
Bash
Executable file
12 lines
157 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -euf -o pipefail
|
|
|
|
hg clone https://hg.libsdl.org/SDL SDL
|
|
cd SDL
|
|
mkdir build
|
|
cd build
|
|
../configure --prefix=/io
|
|
make -j$(nproc)
|
|
make install
|