From c7681620c2440598e0431702e210b66698d9d3f4 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Fri, 19 Sep 2014 11:35:46 -0700 Subject: [PATCH] build/make/iosbuild.sh: Support extra configure args. Change-Id: I9860ac1bb0180315e26987c5fc53d814ea1f0283 --- build/make/iosbuild.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index e580f322c..fb91b8789 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -43,7 +43,7 @@ build_target() { mkdir "${target}" cd "${target}" eval "../../${LIBVPX_SOURCE_DIR}/configure" --target="${target}" \ - --disable-docs ${devnull} + --disable-docs ${EXTRA_CONFIGURE_ARGS} ${devnull} export DIST_DIR eval make -j ${MAKE_JOBS} dist ${devnull} cd "${old_pwd}" @@ -206,6 +206,10 @@ trap cleanup EXIT # Parse the command line. while [ -n "$1" ]; do case "$1" in + --extra-configure-args) + EXTRA_CONFIGURE_ARGS="$2" + shift + ;; --help) iosbuild_usage exit @@ -235,6 +239,7 @@ if [ "${VERBOSE}" = "yes" ]; then cat << EOF BUILD_ROOT=${BUILD_ROOT} DIST_DIR=${DIST_DIR} + EXTRA_CONFIGURE_ARGS=${EXTRA_CONFIGURE_ARGS} FRAMEWORK_DIR=${FRAMEWORK_DIR} HEADER_DIR=${HEADER_DIR} MAKE_JOBS=${MAKE_JOBS} -- 2.40.0