From bd13b3b07df20f2e7dde7147f99e61f26e7c58d9 Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 12 Sep 2022 21:43:10 +0200 Subject: [PATCH] Windows fix breaks Linux-Build --- scripts.d/50-rav1e.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"