summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/mac-g++.conf
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2009-09-10 08:34:22 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2009-09-10 08:34:22 (GMT)
commit4de4da9e3cc3acc7a91599447ee632e9db16ff6d (patch)
treef1cee20b0d89919cecd903204e971f59ffcf58f7 /mkspecs/common/mac-g++.conf
parent855f1705ceb15c303b55fcced8b0303d90352a44 (diff)
downloadQt-4de4da9e3cc3acc7a91599447ee632e9db16ff6d.zip
Qt-4de4da9e3cc3acc7a91599447ee632e9db16ff6d.tar.gz
Qt-4de4da9e3cc3acc7a91599447ee632e9db16ff6d.tar.bz2
Make static builds work fot Qt/Cocoa.
Add -all_load to make Objective-C categories work. Enable hide_symbols to remove visibility issues.
Diffstat (limited to 'mkspecs/common/mac-g++.conf')
-rw-r--r--mkspecs/common/mac-g++.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/common/mac-g++.conf b/mkspecs/common/mac-g++.conf
index dca2e2f..1863898 100644
--- a/mkspecs/common/mac-g++.conf
+++ b/mkspecs/common/mac-g++.conf
@@ -65,6 +65,8 @@ QMAKE_LFLAGS_PPC += -arch ppc
QMAKE_LFLAGS_X86 += -arch i386
QMAKE_LFLAGS_VERSION += -current_version$${LITERAL_WHITESPACE}
QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}
+# -all_load requred to make Objective-C categories work in static builds.
+QMAKE_LFLAGS_STATIC_LIB += -all_load
QMAKE_RPATH +=
QMAKE_PCH_OUTPUT_EXT = .gch