1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge branch 'pr2993'

This commit is contained in:
tux3 2016-03-12 01:12:57 +01:00
commit 48d14be564
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -178,15 +178,19 @@ win32 {
LIBS += -llibjpeg -llibwebp -llibpng -llibtiff -llibjasper -lIlmImf
LIBS += -lopus -lvpx -lsodium -lopenal
} else {
target.path = /usr/bin
desktop.path = /usr/share/applications
isEmpty(PREFIX) {
PREFIX = /usr
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
target.path = $$BINDIR
desktop.path = $$DATADIR/applications
desktop.files += qTox.desktop
INSTALLS += target desktop
# 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 -ltoxencryptsave -ltoxdns -lsodium -lavformat -lavdevice -lavcodec -lavutil -lswscale -lz -Wl,-Bdynamic
LIBS += -Wl,-Bstatic -ljpeg -ltiff -lpng -ljasper -lIlmImf -lIlmThread -lIex -ldc1394 -lraw1394 -lHalf -lz -llzma -ljbig
LIBS += -Wl,-Bdynamic -lv4l1 -lv4l2 -lavformat -lavcodec -lavutil -lswscale -lusb-1.0