From efd6030ec7bceee60b8bafc25de6e9ed6b157b75 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Tue, 12 Feb 2013 21:52:13 +0000 Subject: [PATCH] Fixes OS X lib script to build SDL without X11 (caused error on Mountain Lion) This was SVN commit r13165. --- libraries/osx/build-osx-libs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/osx/build-osx-libs.sh b/libraries/osx/build-osx-libs.sh index 7a3498a452..dda992d069 100755 --- a/libraries/osx/build-osx-libs.sh +++ b/libraries/osx/build-osx-libs.sh @@ -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