Link ctf game.so to math library

It uses sqrt() and similar functions.

Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie 2017-09-14 20:06:07 +01:00
parent ca0e44b2a4
commit f5449a9185

View file

@ -180,7 +180,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
# ----------