From dbd94e41aeb655a6244aeac67d2c54cefa6785bd Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 11 Aug 2010 05:05:31 +0000 Subject: cleanup library name definition --- examples/examples.pri | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/examples.pri') 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 -- cgit v1.2.3