summaryrefslogtreecommitdiff
path: root/lib/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/build.sh')
-rwxr-xr-xlib/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/build.sh b/lib/build.sh
index 725c237..f305939 100755
--- a/lib/build.sh
+++ b/lib/build.sh
@@ -7,7 +7,7 @@ fail() {
CC=cc
CFLAGS="-std=c99 -Wall -Wextra -Wpedantic -D_POSIX_C_SOURCE=200809L"
-LDFLAGS="-fPIC"
+LDFLAGS="-fPIC -lm"
SOURCES="test.c vec2.c world.c log.c"
output="build"