aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-11 05:05:31 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-11 05:05:31 +0000
commitdbd94e41aeb655a6244aeac67d2c54cefa6785bd (patch)
treeb3f665469881fca410bc469ea71109577d294fc2 /examples
parent5a3ff5fcd51981ba6f65d161cda46471ce650c50 (diff)
downloadqxmpp-dbd94e41aeb655a6244aeac67d2c54cefa6785bd.tar.gz
cleanup library name definition
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pri7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/examples.pri b/examples/examples.pri
index 82e6f2bb..4ee6b54d 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -7,6 +7,9 @@ QT += network xml
CONFIG += console
INCLUDEPATH += $$QXMPP_INCLUDE_DIR
-LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIB
-PRE_TARGETDEPS += $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIB}.a
+LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIBRARY_NAME
+
+# FIXME: we need to express a dependency on the library, but the file name
+# depends on the platform and whether the library is static or dynamic
+# PRE_TARGETDEPS += $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIB}.a