diff --git a/coin/provisioning/common/unix/install-ffmpeg-ios.sh b/coin/provisioning/common/unix/install-ffmpeg-ios.sh index fd6f0ef5..9eea5143 100755 --- a/coin/provisioning/common/unix/install-ffmpeg-ios.sh +++ b/coin/provisioning/common/unix/install-ffmpeg-ios.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only # This script will build and install FFmpeg static libs +# Can take an optional final parameter to control installation directory set -ex # Must match or be lower than the minimum iOS version supported by the version of Qt that is @@ -13,7 +14,8 @@ source "${BASH_SOURCE%/*}/../unix/ffmpeg-installation-utils.sh" ffmpeg_source_dir=$(download_ffmpeg) ffmpeg_config_options=$(get_ffmpeg_config_options "shared") -prefix="/usr/local/ios/ffmpeg" +default_prefix="/usr/local/ios/ffmpeg" +prefix="${1:-$default_prefix}" dylib_regex="^@rpath/.*\.dylib$" build_ffmpeg_ios() {