changeset 1831:a2053d1fb6be baselib-win-build

Linux build fix
author Chris Cannam
date Thu, 24 May 2018 17:29:36 +0100
parents 98bec50c3c2e
children da678ff18fb0
files config.pri.in sv.pro
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.pri.in	Thu May 24 17:20:03 2018 +0100
+++ b/config.pri.in	Thu May 24 17:29:36 2018 +0100
@@ -13,7 +13,7 @@
 QMAKE_CXXFLAGS += @CXXFLAGS@
 QMAKE_LFLAGS += @LDFLAGS@
 
-linux*:LIBS += -lasound -ldl
+linux*:LIBS += -L$$PWD -lbase -lasound -ldl 
 
 macx*:DEFINES += HAVE_COREAUDIO
 macx*:LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices
--- a/sv.pro	Thu May 24 17:20:03 2018 +0100
+++ b/sv.pro	Thu May 24 17:29:36 2018 +0100
@@ -18,6 +18,7 @@
 solaris*:TARGET = sonic-visualiser
 
 !win32 {
+    PRE_TARGETDEPS += $$PWD/libbase.a
     QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker .
 }