Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1429 - Compiling static library with -arch fails when linki…
Browse files Browse the repository at this point in the history
…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 b52d17f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions configure
Expand Up @@ -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"



Expand Down
10 changes: 1 addition & 9 deletions configure.in
Expand Up @@ -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)
Expand Down

0 comments on commit b52d17f

Please sign in to comment.