summaryrefslogtreecommitdiff
path: root/Makefile
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
commit73d0f3617523bd1d3eb0f09d6096410f7fb3a19f (patch)
treef567a9ce855d7bb89c38746a806b92efdb500356 /Makefile
parent5d5a7c48ee29a4ccba2466db59f3a6d513a8c0eb (diff)
downloadopenttd-73d0f3617523bd1d3eb0f09d6096410f7fb3a19f.tar.xz
(svn r2822) -Fix: don't compile pthread for win32 dedicated servers
Diffstat (limited to 'Makefile')
-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
##############################################################################