Commit 4ebf53ff authored by Patrik Weiskircher's avatar Patrik Weiskircher Committed by Max Kellermann

configure.ac: use /Developer/SDKs/MacOSX10.5.sdk

First, this is not a nice fix. I am also not sure why the error happens in the first place. I assume Apple deprecated some stuff in 10.6 + x86_64. My patch simply uses the 10.5 SDK if compiling on 10.6 Snow Leopard - which is installed by default if you install XCode 3.2 that comes with Snow Leopard. The reason this is not a nice fix is, of course, that this doesn't fix the problem. It just "postpones" it to the next release of MacOS X. But, some people may need it, and its better than nothing.
parent 8b6a5d19
......@@ -748,6 +748,12 @@ case "$host_os" in
enable_osx=yes ;;
esac
case "$host_os" in
darwin10*)
CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk"
;;
esac
AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes)
AC_ARG_ENABLE(shout,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment