From 701f8efadc6cd4ae218798c497c81056202c60f2 Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Sat, 8 Feb 2003 02:28:54 +0000
Subject: [PATCH] link to -lmingwex for win32

---
 setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup b/setup
index f5e8776c7..52ca0a0e8 100755
--- a/setup
+++ b/setup
@@ -526,7 +526,7 @@ case $VIDSEL in
 	if [ "$WIN32" = "1" ] ; then
 	  echo "Using SDL"
   	  USESDL=1
-	  SDLLIB="\$(shell $SDL_CONFIG --libs)"
+	  SDLLIB="\$(shell $SDL_CONFIG --libs) -lmingwex"
 	  echo "SDL		= -DUSE_SDL -DUSE_SDLA \$(SDL_CFLAGS)" >> $RULESFILE
 	  echo "SDL_CFLAGS	= \$(shell $SDL_CONFIG --cflags)" >> $RULESFILE
           if test "$STATIC x" != " x" ; then