File: patch03.qttestrunner-libname-linkage

package info (click to toggle)
cppunit 1.12.1-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 5,136 kB
  • ctags: 3,387
  • sloc: cpp: 18,307; sh: 9,213; ansic: 2,973; makefile: 480; xml: 58; csh: 6
file content (36 lines) | stat: -rw-r--r-- 1,192 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Index: src/qttestrunner/qttestrunnerlib.pro
===================================================================
RCS file: /home/steve/lib/cvs/debian/cppunit/src/qttestrunner/qttestrunnerlib.pro,v
retrieving revision 1.1.1.1
diff -u -b -B -r1.1.1.1 qttestrunnerlib.pro
--- src/qttestrunner/qttestrunnerlib.pro	12 Dec 2005 07:40:09 -0000	1.1.1.1
+++ src/qttestrunner/qttestrunnerlib.pro	20 Jul 2006 15:18:13 -0000
@@ -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 {