shithub: libvpx

Download patch

ref: 7055ca556c1941bb8488033bb6ce7c681f0a9599
parent: c5fae00227ca6f991953674f5393ec2df3175170
parent: b29ebfe91c643b4bab1f24c2b55bf0a5a83cb825
author: Johann Koenig <[email protected]>
date: Fri Jun 17 17:08:51 EDT 2016

Merge "Remove ios-version.sh"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -751,13 +751,14 @@
   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.
--- a/build/make/ios-version.sh
+++ /dev/null
@@ -1,17 +1,0 @@
-#!/bin/sh
-##
-##  Copyright (c) 2016 The WebM project authors. All Rights Reserved.
-##
-##  Use of this source code is governed by a BSD-style license
-##  that can be found in the LICENSE file in the root of the source
-##  tree. An additional intellectual property rights grant can be found
-##  in the file PATENTS.  All contributing project authors may
-##  be found in the AUTHORS file in the root of the source tree.
-##
-
-if [ "$1" = "--enable-shared" ]; then
-  # Shared library framework builds are only possible on iOS 8 and later.
-  echo "8.0"
-else
-  echo "6.0"
-fi