Fixed bug 1429 - Compiling static library with -arch fails when linking showimage
We no longer need this ancient hack and it's causing problems when building shared libraries against SDL.
--- a/configure Sat Feb 04 00:13:21 2012 +1300
+++ b/configure Tue Feb 28 21:58:36 2012 -0500
@@ -27900,15 +27900,7 @@
SDL_RLD_FLAGS=""
fi
-case "$ARCH" in
- macosx)
- # Evil hack to allow static linking on Mac OS X
- SDL_STATIC_LIBS="\${libdir}/libSDL2.a $EXTRA_LDFLAGS"
- ;;
- *)
- SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
- ;;
-esac
+SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
--- a/configure.in Sat Feb 04 00:13:21 2012 +1300
+++ b/configure.in Tue Feb 28 21:58:36 2012 -0500
@@ -2559,15 +2559,7 @@
SDL_RLD_FLAGS=""
fi
-case "$ARCH" in
- macosx)
- # Evil hack to allow static linking on Mac OS X
- SDL_STATIC_LIBS="\${libdir}/libSDL2.a $EXTRA_LDFLAGS"
- ;;
- *)
- SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
- ;;
-esac
+SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
dnl Expand the cflags and libraries needed by apps using SDL
AC_SUBST(SDL_CFLAGS)