diff options
Diffstat (limited to 'src/sdl.mk')
-rw-r--r-- | src/sdl.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,15 +13,15 @@ $(PKG)_DEPS := gcc libiconv define $(PKG)_UPDATE $(WGET) -q -O- 'http://hg.libsdl.org/SDL/tags' | \ $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ - head -1 + grep '^1\.' | \ + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD $(SED) -i 's,-mwindows,-lwinmm -mwindows,' '$(1)/configure' cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ --enable-threads \ --enable-directx \ --disable-stdio-redirect |