mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 09:46:08 +08:00
coin: Remove ffmpeg workaround for broken Xcode 15 linker
Recent versions of Xcode (15.3 at least) no longer have this issue. Change-Id: Iafba08094c3a52c9fd005f0d236fcb945ac43ed4 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
@@ -100,12 +100,6 @@ elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
export MACOSX_DEPLOYMENT_TARGET=12
|
||||
fix_relative_dependencies="${BASH_SOURCE%/*}/../macos/fix_relative_dependencies.sh"
|
||||
|
||||
xcode_major_version=$(xcodebuild -version | awk 'NR==1 {split($2, a, "."); print a[1]}')
|
||||
if [ "$xcode_major_version" -ge 15 ]; then
|
||||
# fix the error: duplicate symbol '_av_ac3_parse_header'
|
||||
ffmpeg_config_options+=" --extra-ldflags=-Wl,-ld_classic"
|
||||
fi
|
||||
|
||||
if [ "$os" == "macos" ]; then
|
||||
build_ffmpeg
|
||||
install_dir="$ffmpeg_source_dir/build/installed"
|
||||
|
||||
Reference in New Issue
Block a user