diff --git a/scripts.d/50-rav1e.sh b/scripts.d/50-rav1e.sh index 58e5a71..5f03384 100755 --- a/scripts.d/50-rav1e.sh +++ b/scripts.d/50-rav1e.sh @@ -30,7 +30,9 @@ ffbuild_dockerbuild() { fi if [[ -n "$FFBUILD_RUST_TARGET" ]]; then - unset PKG_CONFIG_LIBDIR + if [[ $TARGET == win* ]]; then + unset PKG_CONFIG_LIBDIR + fi myconf+=( --target="$FFBUILD_RUST_TARGET"