From 4731ced45bb5d91216ce436e67901e7b3b5febfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 12 Apr 2013 13:47:31 +0200 Subject: [PATCH] iOS: Automatically disable pkgconfig, and don't build examples and tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So that the user doesn't have to pass -no-pkg-config and -nomake, when we already know that those flags are needed and that the build will break without them. Change-Id: Ic07e02bc1800f177cf09f704104c1a76bfc50aa2 Reviewed-by: Richard Moe Gustavsen Reviewed-by: Morten Johan Sørvig --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 6d68ed2682..1b301b7ca9 100755 --- a/configure +++ b/configure @@ -2830,6 +2830,8 @@ if [ "$CFG_FORCEDEBUGINFO" = "yes" ]; then fi if [ "$XPLATFORM_IOS" = "yes" ]; then + CFG_PKGCONFIG="no" + CFG_NOBUILD_PARTS="$CFG_NOBUILD_PARTS examples tests" CFG_SHARED="no" # iOS builds should be static to be able to submit to the App Store CFG_CXX11="no" # C++11 support disabled for now CFG_SKIP_MODULES="$CFG_SKIP_MODULES qtdeclarative qtquickcontrols qtwebkit qtgraphicaleffects qtdoc qtmultimedia qtwebkit-examples-and-demos qttools"