diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-03-23 14:34:49 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-03-23 14:34:49 +0000 |
| commit | bf2ffd4d596abe2a127db7924a8b1e458dc6158f (patch) | |
| tree | 73e025ddb60c4d1e09f5d4179fd671a7ad7b8397 /qxmpp.pri | |
| parent | a09e4a5642fbf092fbb10dc82f8e5da4bfbb9ea6 (diff) | |
| download | qxmpp-bf2ffd4d596abe2a127db7924a8b1e458dc6158f.tar.gz | |
make it possible to compile shared library
Diffstat (limited to 'qxmpp.pri')
| -rw-r--r-- | qxmpp.pri | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -32,10 +32,16 @@ symbian { QXMPP_LIBS = -l$${QXMPP_LIBRARY_NAME} } -# FIXME: we should be able to use the link_prl option to automatically pull -# in the extra libraries which the qxmpp library needs, but this does not -# seem to work on win32, so we specify the dependencies here: -QXMPP_LIBS += $$QXMPP_INTERNAL_LIBS +# Determine library type (lib or staticlib) +isEmpty(QXMPP_LIBRARY_TYPE) { + QXMPP_LIBRARY_TYPE = staticlib +} +contains(QXMPP_LIBRARY_TYPE,staticlib) { + # FIXME: we should be able to use the link_prl option to automatically pull + # in the extra libraries which the qxmpp library needs, but this does not + # seem to work on win32, so we specify the dependencies here: + QXMPP_LIBS += $$QXMPP_INTERNAL_LIBS +} # Installation prefix and library directory isEmpty(PREFIX) { |
