Properly clean libavformat files with clean-libs.sh

This commit is contained in:
Cameron Gutman 2024-06-01 16:25:46 -05:00
parent 469bd32bde
commit 9bdd17f1c3

View file

@ -46,8 +46,8 @@ while [[ "$#" -gt 0 ]]; do
shift
;;
--ffmpeg_win)
rm -r $LIB_PATH/windows/include/*/libavcodec $LIB_PATH/windows/include/*/libavutil
rm $LIB_PATH/windows/lib/*/avcodec* $LIB_PATH/windows/lib/*/avutil*
rm -r $LIB_PATH/windows/include/*/libavcodec $LIB_PATH/windows/include/*/libavutil $LIB_PATH/windows/include/*/libavformat
rm $LIB_PATH/windows/lib/*/avcodec* $LIB_PATH/windows/lib/*/avutil* $LIB_PATH/windows/lib/*/avformat*
shift
;;
--dav1d_win)
@ -55,8 +55,8 @@ while [[ "$#" -gt 0 ]]; do
shift
;;
--ffmpeg_mac)
rm -r $LIB_PATH/mac/include/libavcodec $LIB_PATH/mac/include/libavutil
rm $LIB_PATH/mac/lib/libavcodec* $LIB_PATH/mac/lib/libavutil*
rm -r $LIB_PATH/mac/include/libavcodec $LIB_PATH/mac/include/libavutil $LIB_PATH/mac/include/libavformat
rm $LIB_PATH/mac/lib/libavcodec* $LIB_PATH/mac/lib/libavutil* $LIB_PATH/mac/lib/libavformat*
shift
;;
--)