summaryrefslogtreecommitdiffstats
path: root/patches/0058-Use-the-install_name-linker-flag-on-Mac-for-the-fram.patch
blob: 0dc0e255f104d61aca8bc1dce01a8aa70b55820a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 4b482f3f68b4f0eb466c9d2aa3b7df62b5330b35 Mon Sep 17 00:00:00 2001
From: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Date: Tue, 25 Jan 2011 10:08:15 +0100
Subject: [PATCH] Use the 'install_name' linker flag on Mac for the frameworks.

This is required for the frameworks outside the qtbase module.
---
 qtbase/mkspecs/features/qt_module.prf |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/qtbase/mkspecs/features/qt_module.prf b/qtbase/mkspecs/features/qt_module.prf
index dbe863f..db8d235 100644
--- a/qtbase/mkspecs/features/qt_module.prf
+++ b/qtbase/mkspecs/features/qt_module.prf
@@ -14,3 +14,8 @@ isEmpty(QMAKE_QT_MODULE)|!exists($$QMAKE_QT_MODULE) {
 } else {
    debug(1, "Loaded qmodule.pri from ($$QMAKE_QT_MODULE)")
 }
+mac {
+   !isEmpty(QMAKE_RPATHDIR){
+       CONFIG += absolute_library_soname
+   }
+}
-- 
1.7.3.2.343.g7d43d