Skip to content

Commit b2c2396

Browse files
committed
Skip some patches for M processor
1 parent 5517323 commit b2c2396

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

get_dependencies.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ if [ -d patches/$PJSIP_VERSION ];then
8080
patches_dir=patches/$PJSIP_VERSION
8181
fi
8282

83+
uname -v|grep ARM64 |grep Darwin > /dev/null
84+
85+
if [ $? -eq 0 ]; then
86+
rm $patches_dir/005_fix_ffmpeg.patch 2> /dev/null
87+
rm $patches_dir/007_video_support_dshow_mingw.patch 2> /dev/null
88+
rm $patches_dir/008_support_mingw_w64.patch 2> /dev/null
89+
fi
90+
8391
for p in $patches_dir/0*.patch; do
8492
echo "Applying patch $p"
8593
patch -p0 < $p > /dev/null

0 commit comments

Comments
 (0)