19 lines
475 B
Bash
Executable file
19 lines
475 B
Bash
Executable file
#!/bin/bash
|
|
wget -c "https://code.teampandory.com/thirdparty/SDL_net/-/archive/release-2.2.0/SDL_net-release-2.2.0.tar.gz"
|
|
tar xvf SDL_net-release-2.2.0.tar.gz
|
|
cd SDL_net-release-2.2.0
|
|
|
|
set -e
|
|
|
|
export SDL_CFLAGS="$($PREFIX/bin/sdl2-config --cflags) -O3"
|
|
export SDL_LIBS="$($PREFIX/bin/sdl2-config --libs) -liconv"
|
|
|
|
export PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig"
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
--prefix="$PREFIX" \
|
|
--host="$xHOST" \
|
|
--enable-mmx=no \
|
|
;
|
|
make && make install
|