mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-02 16:26:28 +00:00
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:
parent
0925c1dd78
commit
93bd217847
10
configure
vendored
10
configure
vendored
@ -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"
|
||||
|
||||
|
||||
|
||||
|
10
configure.in
10
configure.in
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user