aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pri
diff options
context:
space:
mode:
Diffstat (limited to 'qxmpp.pri')
-rw-r--r--qxmpp.pri14
1 files changed, 10 insertions, 4 deletions
diff --git a/qxmpp.pri b/qxmpp.pri
index 598a1497..f43748c7 100644
--- a/qxmpp.pri
+++ b/qxmpp.pri
@@ -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) {