blob: 3bd374dec0a7ca4c024e6e03797edad05b0de395 (
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
27
|
From f2b7f258f06446af7be296831279d08f52e2ed29 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 a263e28..a5a3fd1 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.5.rc2.4.g4d8b3
|