summaryrefslogtreecommitdiffstats
path: root/src/sdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl.mk')
-rw-r--r--src/sdl.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdl.mk b/src/sdl.mk
index 4182c80..eaf3727 100644
--- a/src/sdl.mk
+++ b/src/sdl.mk
@@ -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