Define prefix during build

This commit is contained in:
BtbN 2020-09-04 17:05:12 +02:00
parent 98def95861
commit 012fed6771
1 changed files with 2 additions and 0 deletions

View File

@ -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)"