summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-06-11 11:44:00 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-06-11 11:44:00 (GMT)
commit61569e83107e30deb671f37f29ca71989410d8ff (patch)
tree5e579403fc79dcbc05261c78d06d8f8d26d3f8f5 /config.tests
parentf20f242c7d45ad675c6d955628d318ffecdfe517 (diff)
downloadQt-61569e83107e30deb671f37f29ca71989410d8ff.zip
Qt-61569e83107e30deb671f37f29ca71989410d8ff.tar.gz
Qt-61569e83107e30deb671f37f29ca71989410d8ff.tar.bz2
Make configure pass the -sdk option on to the configure tests.
This makes sure that we only detect and use libraries that are actually in the SDK. Task-number: 109757 Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'config.tests')
-rwxr-xr-xconfig.tests/unix/compile.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test
index ff51c91..a854bd1 100755
--- a/config.tests/unix/compile.test
+++ b/config.tests/unix/compile.test
@@ -28,6 +28,11 @@ while [ "$#" -gt 0 ]; do
MAC_ARCH_LFLAGS="$MAC_ARCH_LFLAGS -arch $2"
shift
;;
+ -sdk)
+ LFLAGS="$LFLAGS -Wl,-syslibroot,$2"
+ CXXFLAGS="$CXXFLAGS -isysroot $2"
+ shift
+ ;;
-F*|-m*|-x*)
LFLAGS="$LFLAGS $PARAM"
CXXFLAGS="$CXXFLAGS $PARAM"