summaryrefslogtreecommitdiff
path: root/Makefile
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
commit971d8442668bfd4998e0dd0f049621bfddac2435 (patch)
tree13fe47f301339bb09949375b22142209d786e81f /Makefile
parent633786f55ea603fe2feafd1421b3c04dd4e2614f (diff)
downloadopenttd-971d8442668bfd4998e0dd0f049621bfddac2435.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)
Diffstat (limited to 'Makefile')
-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
##############################################################################