aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e1794ae..812a732 100755
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,7 @@ FILENAME="$1"
./target/release/sloth std/stdio.sloth std/stdlib.sloth std/stdmath.sloth $FILENAME
# Generate binary
-clang output.o std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}"
+clang -lm output.o std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}"
# Move file
mv "${FILENAME%.sloth}" .