aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pri
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-09-17 15:34:15 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-09-17 15:34:15 +0000
commita89d8a1b6f1ce28b1cde7149cc1ede8128b74e31 (patch)
treef6c257e6fae0fac75251979f078adaf80bbf4f4c /qxmpp.pri
parent0a960b2159fea4aedb2f3ec234ffdd90982de906 (diff)
downloadqxmpp-a89d8a1b6f1ce28b1cde7149cc1ede8128b74e31.tar.gz
fix linking flags for symbian
Diffstat (limited to 'qxmpp.pri')
-rw-r--r--qxmpp.pri16
1 files changed, 16 insertions, 0 deletions
diff --git a/qxmpp.pri b/qxmpp.pri
index c3d11087..a016738a 100644
--- a/qxmpp.pri
+++ b/qxmpp.pri
@@ -9,3 +9,19 @@ CONFIG(debug, debug|release) {
QXMPP_LIBRARY_NAME = qxmpp
}
+QXMPP_LIBS = -L$$QXMPP_LIBRARY_DIR -l$${QXMPP_LIBRARY_NAME}
+
+# Symbian needs a .lib extension to recognise the library as static
+symbian {
+ QXMPP_LIBS = -L$$QXMPP_LIBRARY_DIR -l$${QXMPP_LIBRARY_NAME}.lib
+}
+
+# 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:
+unix {
+ QXMPP_LIBS += -lresolv
+}
+win32 {
+ QXMPP_LIBS += -ldnsapi
+}