mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 19:24:30 -05: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:
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)
|
||||
|
||||
Reference in New Issue
Block a user