diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-06-11 13:44:00 +0200 |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-06-11 13:44:00 +0200 |
commit | 61569e83107e30deb671f37f29ca71989410d8ff (patch) | |
tree | 5e579403fc79dcbc05261c78d06d8f8d26d3f8f5 /config.tests | |
parent | f20f242c7d45ad675c6d955628d318ffecdfe517 (diff) | |
download | qt4-tools-61569e83107e30deb671f37f29ca71989410d8ff.tar.gz |
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-x | config.tests/unix/compile.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test index ff51c91df6..a854bd1835 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" |