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.
This commit is contained in:
Sam Lantinga 2012-02-28 21:58:36 -05:00
parent 0925c1dd78
commit 93bd217847
2 changed files with 2 additions and 18 deletions

10
configure vendored
View File

@ -27900,15 +27900,7 @@ else
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"

View File

@ -2559,15 +2559,7 @@ else
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)