Skip to content

Commit e24c341

Browse files
committed
version display fix
1 parent 7116d6c commit e24c341

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build-ffmpeg

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,11 @@ fi
830830
## FFmpeg
831831
##
832832

833+
EXTRA_VERSION=""
834+
if [[ "$OSTYPE" == "darwin"* ]]; then
835+
EXTRA_VERSION="${FFMPEG_VERSION}"
836+
fi
837+
833838
build "ffmpeg" "$FFMPEG_VERSION"
834839
download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/$FFMPEG_VERSION.tar.gz" "FFmpeg-release-$FFMPEG_VERSION.tar.gz"
835840
# shellcheck disable=SC2086
@@ -848,7 +853,7 @@ download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/$FFMPEG_VE
848853
--pkgconfigdir="$WORKSPACE/lib/pkgconfig" \
849854
--pkg-config-flags="--static" \
850855
--prefix="${WORKSPACE}" \
851-
--extra-version="${FFMPEG_VERSION}"
856+
--extra-version="${EXTRA_VERSION}"
852857

853858
execute make -j $MJOBS
854859
execute make install

0 commit comments

Comments
 (0)