From: Simon McVittie <smcv@debian.org>
Date: Thu, 14 Sep 2017 20:06:07 +0100
Subject: Link ctf game.so to math library

It uses sqrt() and similar functions.

Forwarded: https://github.com/yquake2/ctf/pull/4
Signed-off-by: Simon McVittie <smcv@debian.org>
---
 ctf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ctf/Makefile b/ctf/Makefile
index c147997..28cece7 100644
--- a/ctf/Makefile
+++ b/ctf/Makefile
@@ -220,7 +220,7 @@ release/game.dylib : $(CTF_OBJS)
 else
 release/game.so : $(CTF_OBJS)
 	@echo "===> LD $@"
-	$(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS)
+	$(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS) -lm
 endif
  
 # ----------
