summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/platformsupport.pro
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2011-06-21 09:47:30 +0200
committerMorten Sorvig <morten.sorvig@nokia.com>2011-06-21 09:52:29 +0200
commit2e94bef1e4be9ac25f2bb47da3f359d044a152a7 (patch)
tree8fe376c071bad193bebc04a7c1ef0a06cb901139 /src/platformsupport/platformsupport.pro
parentcf1a53cf3c5b5849efc7e024c07b08afb8686f28 (diff)
Compile fix for platformsupport on Mac.
Switch platformsupport over to be a shared library, which is well supported by the build system. This requires exporting classes we use. I've done this on OS_MAC only for now. Reverts 4581a9999e12e14bbf0836d0740191ba50109540
Diffstat (limited to 'src/platformsupport/platformsupport.pro')
-rw-r--r--src/platformsupport/platformsupport.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/platformsupport/platformsupport.pro b/src/platformsupport/platformsupport.pro
index 8bd931d53a..e808cbd404 100644
--- a/src/platformsupport/platformsupport.pro
+++ b/src/platformsupport/platformsupport.pro
@@ -5,7 +5,10 @@ QT += core-private gui-private
TEMPLATE = lib
DESTDIR = $$QMAKE_LIBDIR_QT
-CONFIG += module staticlib
+CONFIG += module
+!mac:CONFIG += staticlib
+mac:LIBS+=-lz
+
MODULE_PRI = ../modules/qt_platformssupport.pri
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui