aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-23 02:03:23 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-23 02:04:05 +0200
commite719b5c0122b5c849bd6c4bd0b2f443e6ed63ad4 (patch)
treeb801fa40bae2df3be2e91feefeac2c50bd8a13ac /build.sh
parent06c27c56edd8a65971d2354544ac25792ee7261d (diff)
Link to math and pthread
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 132f12d..843ef56 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
dependencies="glm glew sdl2 openvr x11 xcomposite xfixes mpv"
includes=$(pkg-config --cflags $dependencies)
-libs=$(pkg-config --libs $dependencies)
+libs="$(pkg-config --libs $dependencies) -lm -pthread"
gcc -c src/window_texture.c -O2 -DNDEBUG $includes
g++ -c src/mpv.cpp -O2 -DNDEBUG $includes
g++ -c src/main.cpp -O2 -DNDEBUG $includes