summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r--build/make/configure.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index ea3da9e9a..89c32b0f9 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -770,13 +770,14 @@ process_common_toolchain() {
enabled shared && soft_enable pic
# Minimum iOS version for all target platforms (darwin and iphonesimulator).
+ # Shared library framework builds are only possible on iOS 8 and later.
if enabled shared; then
IOS_VERSION_OPTIONS="--enable-shared"
+ IOS_VERSION_MIN="8.0"
else
IOS_VERSION_OPTIONS=""
+ IOS_VERSION_MIN="6.0"
fi
- IOS_VERSION_MIN=$("${source_path}/build/make/ios-version.sh" \
- ${IOS_VERSION_OPTIONS})
# Handle darwin variants. Newer SDKs allow targeting older
# platforms, so use the newest one available.