aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-22 00:29:20 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-22 00:29:20 +0100
commitf81bdfb29e2747c39c982a9f4cbbdaa830c2560a (patch)
tree1669c809e67b738fe91d3a6ad2053e36d60264a5 /build.sh
parent97e0a6ad1b5204bc919d4d852b0b8a2c0c10a611 (diff)
Use /usr/lib64 instead of /usr/lib, which makes it compatible with gentoo
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 ee1e9b3..9bdaf16 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse-simple libswresample"
includes="$(pkg-config --cflags $dependencies) -I/opt/cuda/targets/x86_64-linux/include"
-libs="$(pkg-config --libs $dependencies) /usr/lib/libcuda.so -ldl -pthread -lm"
+libs="$(pkg-config --libs $dependencies) /usr/lib64/libcuda.so -ldl -pthread -lm"
g++ -c src/sound.cpp -O2 $includes -DPULSEAUDIO=1
g++ -c src/main.cpp -O2 $includes -DPULSEAUDIO=1
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs