From 012fed67718de237fd5ffddfd7dbfb191dd793fa Mon Sep 17 00:00:00 2001 From: BtbN Date: Fri, 4 Sep 2020 17:05:12 +0200 Subject: [PATCH] Define prefix during build --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 98a083b..d6ddfcb 100755 --- a/build.sh +++ b/build.sh @@ -18,6 +18,8 @@ get_output() { source "variants/${VARIANT}.sh" source "variants/${TARGET}-${VARIANT}.sh" +export FFBUILD_PREFIX="$(docker run --rm btbn/ffmpeg-builder:win64-gpl bash -c 'echo $FFBUILD_PREFIX')" + for script in scripts.d/*.sh; do FF_CONFIGURE+=" $(get_output $script configure)" FF_CFLAGS+=" $(get_output $script cflags)"