mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-29 16:04:21 +00:00
Merge pull request #4824 from starius/mxe-compat
compatibility with MXE
This commit is contained in:
commit
8b559a8b51
2
configure
vendored
2
configure
vendored
@ -8345,7 +8345,7 @@ fi
|
|||||||
$as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
|
$as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
|
||||||
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
|
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||||
|
|
||||||
$QT_QMAKE -r $CONFDIR/qbittorrent.pro
|
$QT_QMAKE -r $CONFDIR/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
|
||||||
|
|
||||||
ret="$?"
|
ret="$?"
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ AS_IF([test "x$enable_systemd" = "xyes"],
|
|||||||
AC_MSG_NOTICE([Running qmake to generate the makefile...])
|
AC_MSG_NOTICE([Running qmake to generate the makefile...])
|
||||||
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
|
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||||
|
|
||||||
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro
|
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
|
||||||
|
|
||||||
ret="$?"
|
ret="$?"
|
||||||
|
|
||||||
|
@ -22,17 +22,17 @@ RC_FILE = qbittorrent_mingw.rc
|
|||||||
|
|
||||||
# Adapt the lib names/versions accordingly
|
# Adapt the lib names/versions accordingly
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
LIBS += libtorrent \
|
LIBS += libtorrent-rasterbar \
|
||||||
libboost_system-mgw45-mt-d-1_47 \
|
libboost_system-mt \
|
||||||
libboost_filesystem-mgw45-mt-d-1_47 \
|
libboost_filesystem-mt \
|
||||||
libboost_thread-mgw45-mt-d-1_47
|
libboost_thread_win32-mt
|
||||||
} else {
|
} else {
|
||||||
LIBS += libtorrent \
|
LIBS += libtorrent-rasterbar \
|
||||||
libboost_system-mgw45-mt-1_47 \
|
libboost_system-mt \
|
||||||
libboost_filesystem-mgw45-mt-1_47 \
|
libboost_filesystem-mt \
|
||||||
libboost_thread-mgw45-mt-1_47
|
libboost_thread_win32-mt
|
||||||
}
|
}
|
||||||
|
|
||||||
LIBS += libadvapi32 libshell32 libuser32
|
LIBS += libadvapi32 libshell32 libuser32
|
||||||
LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
|
LIBS += libcrypto libssl libwsock32 libws2_32 libz libiconv
|
||||||
LIBS += libpowrprof
|
LIBS += libpowrprof
|
||||||
|
@ -12,7 +12,7 @@ INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include)
|
|||||||
# Point this to the boost lib folder
|
# Point this to the boost lib folder
|
||||||
LIBS += $$quote(-LC:/qBittorrent/boost_1_51_0/stage/lib)
|
LIBS += $$quote(-LC:/qBittorrent/boost_1_51_0/stage/lib)
|
||||||
# Point this to the libtorrent lib folder
|
# Point this to the libtorrent lib folder
|
||||||
LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/<path-according-to-the-build-options-chosen>)
|
LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/path-according-to-the-build-options-chosen)
|
||||||
# Point this to the zlib lib folder
|
# Point this to the zlib lib folder
|
||||||
LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
|
LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
|
||||||
# Point this to the openssl lib folder
|
# Point this to the openssl lib folder
|
||||||
@ -53,7 +53,7 @@ CONFIG(debug, debug|release) {
|
|||||||
# Enable backtrace support
|
# Enable backtrace support
|
||||||
CONFIG += strace_win
|
CONFIG += strace_win
|
||||||
|
|
||||||
win32-g++ {
|
win32-g++* {
|
||||||
include(winconf-mingw.pri)
|
include(winconf-mingw.pri)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user