Merge pull request #4 from smcv/libm

Link ctf game.so to math library
This commit is contained in:
Yamagi 2019-05-13 17:04:59 +02:00 committed by GitHub
commit 4f8b49daf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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