cppunit (1.12.1-1) src/qttestrunner/qttestrunnerlib.pro

Summary

 src/qttestrunner/qttestrunnerlib.pro |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- cppunit-1.12.1.orig/src/qttestrunner/qttestrunnerlib.pro
+++ cppunit-1.12.1/src/qttestrunner/qttestrunnerlib.pro
@@ -21,6 +21,8 @@
 #CONFIG += qt warn_on debug dll
 #CONFIG += qt warn_on release dll
 
+# Debian settings
+CONFIG = qt warn_on thread release dll
 
 QTRUNNER_LIB = qttestrunner   # Name of the library
 
@@ -84,16 +86,15 @@
     MOC_DIR = .moc
     UI_DIR = .moc
     DESTDIR = ../../lib
+    LIBS += -L../../src/cppunit/.libs -lcppunit
     dll {
         debug {
-            TARGET = $${QTRUNNER_LIB}d_shared
+            TARGET = $${QTRUNNER_LIB}d
             OBJECTS_DIR = .obj_debug_shared
-            LIBS += -L../../lib -lcppunit
         }
         release {
-            TARGET = $${QTRUNNER_LIB}_shared
+            TARGET = $${QTRUNNER_LIB}
             OBJECTS_DIR = .obj_release_shared
-            LIBS += -L../../lib -lcppunit
         }
     }
     staticlib {