This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
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" | ||
|
||
|
||
|