kiss-mfavila-small/community-mod/sdl/build

12 lines
234 B
Bash
Executable File

#!/bin/sh -e
# Fixes bug that prevents SDL from building with X11 support
sed -e '/_XData32/s:register long:register _Xconst long:' \
-i src/video/x11/SDL_x11sym.h
./configure \
--prefix=/usr
make
make DESTDIR="$1" install