Skip to content
Snippets Groups Projects
Commit f09353ea authored by Oliver Bock's avatar Oliver Bock
Browse files

Don't use X11 on Mac OS

parent 8c5686ab
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,11 @@ build_generic() ...@@ -196,7 +196,11 @@ build_generic()
cd $ROOT/3rdparty/sdl || failure cd $ROOT/3rdparty/sdl || failure
./autogen.sh >> $LOGFILE 2>&1 || failure ./autogen.sh >> $LOGFILE 2>&1 || failure
cd $ROOT/build/sdl || failure cd $ROOT/build/sdl || failure
if [ "$1" == "$TARGET_MAC" ]; then
$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-video-x11=no >> $LOGFILE 2>&1 || failure
else
$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes >> $LOGFILE 2>&1 || failure $ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes >> $LOGFILE 2>&1 || failure
fi
make >> $LOGFILE 2>&1 || failure make >> $LOGFILE 2>&1 || failure
make install >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure
echo "Successfully built and installed SDL!" | tee -a $LOGFILE echo "Successfully built and installed SDL!" | tee -a $LOGFILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment