summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer.qnx@kdab.com>2012-03-12 19:51:52 +0000
committerQt by Nokia <qt-info@nokia.com>2012-03-22 16:13:21 +0100
commit8ec49c810cf9294b5d311f9571eef0c64e6c867d (patch)
tree0bf6553d6c7ba6f259e668b8b02581bfe0ae67b5 /configure
parent29a67e29b969a081097aaa99e36e4ca2c5e0392d (diff)
Set absolute_library_soname on mac only when not cross-compiling
Change-Id: I24a2b70a515483d9d0990f66bff2b37df72faf17 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 70979a398f..32dd5f0485 100755
--- a/configure
+++ b/configure
@@ -5725,7 +5725,7 @@ fi
[ '!' -z "$L_FLAGS" ] && QMakeVar add QMAKE_LIBDIR_FLAGS "$L_FLAGS"
[ '!' -z "$l_FLAGS" ] && QMakeVar add LIBS "$l_FLAGS"
-if [ "$PLATFORM_MAC" = "yes" ]; then
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$QT_CROSS_COMPILE" = "no" ]; then
if [ "$CFG_RPATH" = "yes" ]; then
QMAKE_CONFIG="$QMAKE_CONFIG absolute_library_soname"
# set the default rpath to the library installation directory