aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/PlaylistFormats/xspf/xspf.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/PlaylistFormats/xspf/xspf.pro')
-rw-r--r--src/plugins/PlaylistFormats/xspf/xspf.pro28
1 files changed, 18 insertions, 10 deletions
diff --git a/src/plugins/PlaylistFormats/xspf/xspf.pro b/src/plugins/PlaylistFormats/xspf/xspf.pro
index 784f15c79..28a50ca44 100644
--- a/src/plugins/PlaylistFormats/xspf/xspf.pro
+++ b/src/plugins/PlaylistFormats/xspf/xspf.pro
@@ -6,23 +6,31 @@ plugin \
lib
TARGET =$$PLUGINS_PREFIX/PlaylistFormats/xspfplaylistformat
-QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/libxsplaylistformat.so
+
TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib
-isEmpty(LIB_DIR){
- LIB_DIR = /lib
-}
-target.path = $$LIB_DIR/qmmp/PlaylistFormats
-INSTALLS += target
-
INCLUDEPATH += ../../../../src
-LIBS += -lqmmpui -lqmmp
-
QT += xml
-SOURCES += xspfplaylistformat.cpp
+SOURCES += xspfplaylistformat.cpp
HEADERS += xspfplaylistformat.h
+unix {
+ isEmpty(LIB_DIR){
+ LIB_DIR = /lib
+ }
+ target.path = $$LIB_DIR/qmmp/PlaylistFormats
+ INSTALLS += target
+
+ QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/libxsplaylistformat.so
+ LIBS += -lqmmpui -lqmmp
+}
+
+win32 {
+ LIBS += -lqmmpui0 -lqmmp0
+ QMAKE_LIBDIR += ../../../../bin
+}
+