mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
- use PKGCONFIG again for libtorrent in configure
This commit is contained in:
parent
4473b7917b
commit
59c6f469a0
3 changed files with 4 additions and 4 deletions
2
configure
vendored
2
configure
vendored
|
@ -370,7 +370,7 @@ public:
|
|||
if(!found) return false;
|
||||
conf->addLib(QString("-L") + s);
|
||||
}
|
||||
conf->addLib("-ltorrent");
|
||||
//conf->addLib("-ltorrent");
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
if(!found) return false;
|
||||
conf->addLib(QString("-L") + s);
|
||||
}
|
||||
conf->addLib("-ltorrent");
|
||||
//conf->addLib("-ltorrent");
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -28,8 +28,8 @@ contains(DEBUG_MODE, 0){
|
|||
QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
||||
QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
||||
#LIBS += -lcurl -lupnp
|
||||
#CONFIG += link_pkgconfig
|
||||
#PKGCONFIG += libtorrent
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += libtorrent
|
||||
QT += network xml
|
||||
|
||||
DEFINES += QT_NO_CAST_TO_ASCII
|
||||
|
|
Loading…
Reference in a new issue