changeset 1177:79f7af8873c9

Add -ldl in a couple more places
author Chris Cannam
date Mon, 21 Mar 2016 10:02:21 +0000
parents a6929fb9cc77
children e5a1d815f331 16955f929d37
files config.pri.in data/fileio/test/test.pro
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.pri.in	Fri Mar 18 15:30:28 2016 +0000
+++ b/config.pri.in	Mon Mar 21 10:02:21 2016 +0000
@@ -10,7 +10,7 @@
 QMAKE_CXXFLAGS += @CXXFLAGS@ 
 QMAKE_LFLAGS += @LDFLAGS@
 
-linux*:LIBS += -lasound
+linux*:LIBS += -lasound -ldl
 
 macx*:DEFINES += HAVE_COREAUDIO MACOSX_DEPLOYMENT_TARGET=1060
 
--- a/data/fileio/test/test.pro	Fri Mar 18 15:30:28 2016 +0000
+++ b/data/fileio/test/test.pro	Mon Mar 21 10:02:21 2016 +0000
@@ -36,6 +36,9 @@
         DEFINES += HAVE_COREAUDIO
         LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
     }
+    linux* {
+        LIBS += -ldl
+    }
 }
 
 CONFIG += qt thread warn_on stl rtti exceptions console c++11