mirror of
https://github.com/yquake2/ctf.git
synced 2024-11-22 20:01:03 +00:00
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:
parent
ca0e44b2a4
commit
f5449a9185
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -180,7 +180,7 @@ release/game.dylib : $(CTF_OBJS)
|
||||||
else
|
else
|
||||||
release/game.so : $(CTF_OBJS)
|
release/game.so : $(CTF_OBJS)
|
||||||
@echo "===> LD $@"
|
@echo "===> LD $@"
|
||||||
$(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS)
|
$(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS) -lm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
Loading…
Reference in a new issue