summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5657b46a5..125ed2fd6 100644
--- a/Makefile
+++ b/Makefile
@@ -219,8 +219,10 @@ endif
endif
# remove the dependancy for sdl if DEDICALTED is used
+# and add -lpthread to LDFLAGS, because SDL normally adds that...
ifdef DEDICATED
WITH_SDL:=
+LDFLAGS+=-lpthread
endif