Pipe wget to git apply for zimg in BuildFFmpeg.sh

This commit is contained in:
MartinEesmaa
2025-04-03 00:36:24 +11:00
parent d7704155d5
commit 32d5c36c75

View File

@@ -118,9 +118,7 @@ fi
if [ ! -d zimg ]; then
git -C zimg $gitsub
wget https://raw.githubusercontent.com/m-ab-s/mabs-patches/master/zimg/0001-libm_wrapper-define-__CRT__NO_INLINE-before-math.h.patch
git -C zimg apply 0001-libm_wrapper-define-__CRT__NO_INLINE-before-math.h.patch
rm 0001-libm_wrapper-define-__CRT__NO_INLINE-before-math.h.patch
wget -q -O - https://raw.githubusercontent.com/m-ab-s/mabs-patches/master/zimg/0001-libm_wrapper-define-__CRT__NO_INLINE-before-math.h.patch | git -C zimg apply
fi
make="make install-r install-prefix=$PREFIX"