|
|
|
@ -52,27 +52,27 @@ contains(JENKINS,YES) {
@@ -52,27 +52,27 @@ contains(JENKINS,YES) {
|
|
|
|
|
|
|
|
|
|
# Rules for Windows, Mac OSX, and Linux |
|
|
|
|
win32 { |
|
|
|
|
LIBS += -liphlpapi -L$$PWD/libs/lib -ltoxav -ltoxcore -lvpx -lpthread |
|
|
|
|
LIBS += -liphlpapi -L$$PWD/libs/lib -ltoxav -ltoxcore -ltoxencryptsave -lvpx -lpthread |
|
|
|
|
LIBS += -L$$PWD/libs/lib -lopencv_core248 -lopencv_highgui248 -lopencv_imgproc248 -lOpenAL32 -lopus |
|
|
|
|
LIBS += -lz -lopengl32 -lole32 -loleaut32 -luuid -lvfw32 -ljpeg -ltiff -lpng -ljasper -lIlmImf -lHalf -lws2_32 |
|
|
|
|
} else { |
|
|
|
|
macx { |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -lsodium -lvpx -framework OpenAL -lopencv_core -lopencv_highgui |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -ltoxencryptsave -lsodium -lvpx -framework OpenAL -lopencv_core -lopencv_highgui |
|
|
|
|
} else { |
|
|
|
|
# If we're building a package, static link libtox[core,av] and libsodium, since they are not provided by any package |
|
|
|
|
contains(STATICPKG, YES) { |
|
|
|
|
target.path = /usr/bin |
|
|
|
|
INSTALLS += target |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -lopus -lvpx -lopenal -Wl,-Bstatic -ltoxcore -ltoxav -lsodium -lopencv_highgui -lopencv_imgproc -lopencv_core -lz -Wl,-Bdynamic |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -lopus -lvpx -lopenal -Wl,-Bstatic -ltoxcore -ltoxav -ltoxencryptsave -lsodium -lopencv_highgui -lopencv_imgproc -lopencv_core -lz -Wl,-Bdynamic |
|
|
|
|
LIBS += -Wl,-Bstatic -ljpeg -ltiff -lpng -ljasper -lIlmImf -lIlmThread -lIex -ldc1394 -lraw1394 -lHalf -lz -llzma -ljbig |
|
|
|
|
LIBS += -Wl,-Bdynamic -ltbb -lv4l1 -lv4l2 -lgnutls -lrtmp -lgnutls -lavformat -lavcodec -lavutil -lavfilter -lswscale -lusb-1.0 |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -lvpx -lopenal -lopencv_core -lopencv_highgui -lopencv_imgproc |
|
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -ltoxencryptsave -lvpx -lopenal -lopencv_core -lopencv_highgui -lopencv_imgproc |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
contains(JENKINS, YES) { |
|
|
|
|
LIBS = ./libs/lib/libtoxav.a ./libs/lib/libvpx.a ./libs/lib/libopus.a ./libs/lib/libtoxcore.a ./libs/lib/libsodium.a -lopencv_core -lopencv_highgui -lopenal |
|
|
|
|
LIBS = ./libs/lib/libtoxav.a ./libs/lib/libvpx.a ./libs/lib/libopus.a ./libs/lib/libtoxcore.a ./libs/lib/libsodium.a ./libs/lib/libtoxencryptsave.a -lopencv_core -lopencv_highgui -lopenal |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|