Mercurial > sdl-ios-xcode
comparison configure.in @ 4132:f7e5a35a1d0d SDL-1.2
Fixed bug #531
The static libs should include all the other libraries the dynamic SDL library
links with.
sdl.pc should include these so "pkg-config sdl --libs --static" works
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Jan 2008 15:23:59 +0000 |
parents | 21d48dbc2ca8 |
children | 31c7c57af8a4 |
comparison
equal
deleted
inserted
replaced
4131:7c2589fb8d4d | 4132:f7e5a35a1d0d |
---|---|
2747 fi | 2747 fi |
2748 # Evil hack to allow static linking on Mac OS X | 2748 # Evil hack to allow static linking on Mac OS X |
2749 SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS" | 2749 SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS" |
2750 ;; | 2750 ;; |
2751 *) | 2751 *) |
2752 SDL_STATIC_LIBS="$SDL_LIBS" | 2752 SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS" |
2753 ;; | 2753 ;; |
2754 esac | 2754 esac |
2755 | 2755 |
2756 dnl Expand the cflags and libraries needed by apps using SDL | 2756 dnl Expand the cflags and libraries needed by apps using SDL |
2757 AC_SUBST(SDL_CFLAGS) | 2757 AC_SUBST(SDL_CFLAGS) |