From dd7822b3b2f4c0acd90f72d20063a946ba8d2c5e Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Fri, 29 Mar 2002 23:45:45 +0000
Subject: [PATCH] Compiling statically with SDL now works correctly.

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

diff --git a/setup b/setup
index 0f176cf4f..97d012186 100755
--- a/setup
+++ b/setup
@@ -441,7 +441,7 @@ case $VIDSEL in
 	echo "SDL_CFLAGS	= \$(shell $SDL_CONFIG --cflags)" >> $RULESFILE
 
         if test "$STATIC x" != " x" ; then
-	  SDLLIB="$SDLLIB -lesd"
+	  SDLLIB="\$(shell $SDL_CONFIG --static-libs)"
 	fi
 
 	echo "SDLLIB		= $SDLLIB" >> $RULESFILE