mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
FFmpeg: reduce the number of frameworks we create
to the same libraries we build e.g. on macOS. Also, clean up the script a bit removing a duplicate configure option. Pick-to: 6.9 6.8 Task-number: QTBUG-133502 Change-Id: If06aad102783bc3025155d3427aa68d87ad4d179 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
@@ -46,7 +46,6 @@ build_ffmpeg_ios() {
|
||||
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
|
||||
--target-os=darwin \
|
||||
--extra-ldflags="$minos" \
|
||||
--enable-cross-compile \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--install-name-dir='@rpath' \
|
||||
@@ -172,7 +171,7 @@ create_xcframework() {
|
||||
build_ffmpeg_ios "arm64-simulator"
|
||||
build_ffmpeg_ios "arm64"
|
||||
|
||||
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
|
||||
ffmpeg_libs="libavcodec libavformat libavutil libswresample libswscale"
|
||||
|
||||
for name in $ffmpeg_libs; do
|
||||
create_framework $name "arm64"
|
||||
|
||||
Reference in New Issue
Block a user