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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- kiax-2.0/gui/gui.pro	2008-12-27 22:53:59.000000000 -0800
+++ kiax-2.0/gui/gui.pro.new	2008-12-27 23:13:23.000000000 -0800
@@ -14,11 +14,11 @@

 linux-g++ {
 # Uncomment if you want dynamic linking
-# LIBSDIR += $$CORELIBDIR/libs-linux
-# LIBS += -L/usr/lib -L/usr/local/lib -L$$CORELIBDIR -liaxclient -lkiax2core -ljson -lspeexdsp -lspeex -lportaudio -lgsm -lsqlite3 -lasound 
+LIBSDIR += $$CORELIBDIR/libs-linux
+LIBS += -L/usr/lib -L/usr/local/lib -L$$CORELIBDIR -liaxclient $$CORELIBDIR/libkiax2core.a -ljson -lspeexdsp -lspeex -lportaudio -lgsm -lsqlite3 -lasound 

-LIBSDIR += $$CORELIBDIR/static-libs-linux
-LIBS += $$LIBSDIR/libiaxclient.a $$CORELIBDIR/libkiax2core.a $$LIBSDIR/libjson.a $$LIBSDIR/libspeexdsp.a $$LIBSDIR/libspeex.a $$LIBSDIR/libportaudio.a $$LIBSDIR/libgsm.a $$LIBSDIR/libsqlite3.a /usr/lib/libasound.so.2 
+# LIBSDIR += $$CORELIBDIR/static-libs-linux
+# LIBS += $$LIBSDIR/libiaxclient.a $$CORELIBDIR/libkiax2core.a $$LIBSDIR/libjson.a $$LIBSDIR/libspeexdsp.a $$LIBSDIR/libspeex.a $$LIBSDIR/libportaudio.a $$LIBSDIR/libgsm.a $$LIBSDIR/libsqlite3.a /usr/lib/libasound.so.2 

 # Uncomment if you want dynamic linking
 # LIBS += $$LIBSDIR/libiaxclient.so.1.0.2 $$LIBSDIR/libsqlite3.so.0.8.6 $$CORELIBDIR/libkiax2core.so.1.0.0 $$LIBSDIR/libjson.a $$LIBSDIR/libspeexdsp.so.1.4.0 $$LIBSDIR/libspeex.so.1.4.0

--- kiax-2.0/kiax2core/kiax2core.pro	2008-12-27 22:54:01.000000000 -0800
+++ kiax-2.0/kiax2core/kiax2core.pro.new	2008-12-28 00:45:57.000000000 -0800
@@ -11,7 +11,7 @@
 linux-g++ {

 # Uncomment if you want dynamic linking

 # LIBSDIR +=./libs-linux

-# LIBS += $$LIBSDIR/libiaxclient.so.1.0.2 $$LIBSDIR/libsqlite3.so.0.8.6

+LIBS += $$system(pkg-config --libs iaxclient sqlite3 2>/dev/null)

 DEFINES += LINUXDEP

 }



@@ -22,7 +22,7 @@
 }



 # Comment if you want dynamic lib

-# CONFIG += staticlib

+CONFIG += staticlib



 # comment if you don't have hold() in your iaxclient

 # DEFINES += IAXCLIENT_HOLD_HACK