diff options
author | Morten Sorvig <msorvig@trolltech.com> | 2009-09-10 08:34:22 (GMT) |
---|---|---|
committer | Morten Sorvig <msorvig@trolltech.com> | 2009-09-10 08:34:22 (GMT) |
commit | 4de4da9e3cc3acc7a91599447ee632e9db16ff6d (patch) | |
tree | f1cee20b0d89919cecd903204e971f59ffcf58f7 /mkspecs/common | |
parent | 855f1705ceb15c303b55fcced8b0303d90352a44 (diff) | |
download | Qt-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')
-rw-r--r-- | mkspecs/common/mac-g++.conf | 2 |
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 |