shithub: libvpx

Download patch

ref: 01276f4453f78f62c5126ae55e819876e9f65ea1
parent: e665d0bdd919e143997fb73b3cadbc086889bb2f
author: Tom Finegan <tomfinegan@google.com>
date: Thu Sep 17 12:21:22 EDT 2015

iosbuild: Add --test-link argument.

Shortcut arg for --extra-configure-args --enable-examples. Enables
the examples, and thus ensures that all versions of libvpx that
iosbuild.sh produces can actually be linked.

Change-Id: I2ddda094361bf0ac77f8d2ae542e4dc7b2cab158

--- a/build/make/iosbuild.sh
+++ b/build/make/iosbuild.sh
@@ -199,6 +199,8 @@
     --show-build-output: Show output from each library build.
     --targets <targets>: Override default target list. Defaults:
          ${TARGETS}
+    --test-link: Confirms all targets can be linked. Functionally identical to
+                 passing --enable-examples via --extra-configure-args.
     --verbose: Output information about the environment and each stage of the
                build.
 EOF
@@ -236,6 +238,9 @@
       ;;
     --show-build-output)
       devnull=
+      ;;
+    --test-link)
+      EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} --enable-examples"
       ;;
     --targets)
       TARGETS="$2"