summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-08-06 20:34:41 +0000
committertruelight <truelight@openttd.org>2005-08-06 20:34:41 +0000
commit479b98980c329966784b5e1f352b12d735bb0f2f (patch)
treef567a9ce855d7bb89c38746a806b92efdb500356
parent56705ecffbe9c2fb219295f81c195907e0b286d7 (diff)
downloadopenttd-479b98980c329966784b5e1f352b12d735bb0f2f.tar.xz
(svn r2822) -Fix: don't compile pthread for win32 dedicated servers
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8eefe09f9..3b4765b72 100644
--- a/Makefile
+++ b/Makefile
@@ -215,8 +215,10 @@ endif
# and add -lpthread to LDFLAGS, because SDL normally adds that...
ifdef DEDICATED
WITH_SDL:=
+ifndef WIN32
LDFLAGS+=-lpthread
endif
+endif
##############################################################################