From 01276f4453f78f62c5126ae55e819876e9f65ea1 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Thu, 17 Sep 2015 16:21:22 -0700 Subject: [PATCH] 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 --- build/make/iosbuild.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index 89fa68186..181b31370 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -199,6 +199,8 @@ cat << EOF --show-build-output: Show output from each library build. --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 @@ -237,6 +239,9 @@ while [ -n "$1" ]; do --show-build-output) devnull= ;; + --test-link) + EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} --enable-examples" + ;; --targets) TARGETS="$2" shift