Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug 1429 - Compiling static library with -arch fails when linki…

…ng showimage

We no longer need this ancient hack and it's causing problems when building shared libraries against SDL.
  • Loading branch information
slouken committed Feb 29, 2012
1 parent f5a0ff7 commit b52d17fbd8cc968e18c9262a03b981f629e917d4
Showing with 2 additions and 18 deletions.
  1. +1 −9 configure
  2. +1 −9 configure.in
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"



@@ -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)

0 comments on commit b52d17f

Please sign in to comment.