summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-15 21:30:16 +0000
committerbjarni <bjarni@openttd.org>2005-01-15 21:30:16 +0000
commit56b567cf6ceab05b5ebb8c51855d264990396121 (patch)
tree13fe47f301339bb09949375b22142209d786e81f
parentc308179978a77950fb661bab27c82c35b9cd384c (diff)
downloadopenttd-56b567cf6ceab05b5ebb8c51855d264990396121.tar.xz
(svn r1530) Makefilefix: now the binary never links to SDL if DEDICATED is set. Thanks to igor2code for making me aware of this issue even through I fixed it in a different way than his patch did. (I made dedicated never link to sdl, nomatter what makefile.config says)
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8d20ada64..320a79f6d 100644
--- a/Makefile
+++ b/Makefile
@@ -226,6 +226,10 @@ endif
endif
endif
+# remove the dependancy for sdl if DEDICALTED is used
+ifdef DEDICATED
+WITH_SDL:=
+endif
##############################################################################