Enable libva on Windows

I was not able to get the driver to work at all.
It just crashes a lot, but since it has no averse side-effects
(hopefully), let's just enable it by default.
This commit is contained in:
BtbN
2023-09-19 22:52:51 +02:00
parent b734a4d288
commit 86871adfca
2 changed files with 48 additions and 23 deletions

View File

@ -3,7 +3,6 @@
SCRIPT_SKIP="1"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1
return 0
}
@ -12,6 +11,8 @@ ffbuild_dockerdl() {
}
ffbuild_dockerbuild() {
rm "$FFBUILD_PREFIX"/lib/lib*.so* || true
rm "$FFBUILD_PREFIX"/lib/*.la || true
if [[ $TARGET == linux* ]]; then
rm "$FFBUILD_PREFIX"/lib/lib*.so* || true
rm "$FFBUILD_PREFIX"/lib/*.la || true
fi
}