1
0
forked from 0ad/0ad

Fixes OS X lib script to build SDL without X11 (caused error on Mountain Lion)

This was SVN commit r13165.
This commit is contained in:
historic_bruno 2013-02-12 21:52:13 +00:00
parent 4817fd5dbb
commit efd6030ec7

View File

@ -145,7 +145,8 @@ then
tar -xf $LIB_ARCHIVE
pushd $LIB_DIRECTORY
(./configure CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" --prefix="$INSTALL_DIR" --enable-shared=no && make $JOBS && make install) || die "SDL build failed"
# Don't use X11 - we don't need it and Mountain Lion removed it
(./configure CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" --prefix="$INSTALL_DIR" --without-x --enable-shared=no && make $JOBS && make install) || die "SDL build failed"
popd
touch .already-built
else