aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-09 23:30:38 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-09 23:30:38 +0200
commitf38ed36271ab417fbff005452e721a57c53641fe (patch)
treee72ca594bc8afd22c4ccfeb782482977daf135ab /build.sh
parente158cb2a8b38176db6a187e2f17ddd8fef764c88 (diff)
Test fix using correct gpu when multiple gpus are connected
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 caa3176..3cf6b5f 100755
--- a/build.sh
+++ b/build.sh
@@ -16,7 +16,7 @@ build_gsr_kms_server() {
}
build_gsr() {
- dependencies="libavcodec libavformat libavutil x11 xcomposite xrandr xfixes libpulse libswresample libavfilter libva libcap"
+ dependencies="libavcodec libavformat libavutil x11 xcomposite xrandr xfixes libpulse libswresample libavfilter libva libcap libdrm"
includes="$(pkg-config --cflags $dependencies)"
libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
$CC -c src/capture/capture.c $opts $includes