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
2 changed files with 2 additions and 18 deletions
8
configure
vendored
8
configure
vendored
|
@ -27900,15 +27900,7 @@ else
|
||||||
SDL_RLD_FLAGS=""
|
SDL_RLD_FLAGS=""
|
||||||
fi
|
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"
|
SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2559,15 +2559,7 @@ else
|
||||||
SDL_RLD_FLAGS=""
|
SDL_RLD_FLAGS=""
|
||||||
fi
|
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"
|
SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Expand the cflags and libraries needed by apps using SDL
|
dnl Expand the cflags and libraries needed by apps using SDL
|
||||||
AC_SUBST(SDL_CFLAGS)
|
AC_SUBST(SDL_CFLAGS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue