diff --git a/configure b/configure index c0c148acc..5fb52934f 100755 --- a/configure +++ b/configure @@ -430,9 +430,6 @@ public: return false; for(int n = 0; n < incs.count(); ++n) conf->addIncludePath(incs[n]); - if(conf->getenv("QC_DISABLE_GUI").isEmpty()) { - conf->addLib("-lcrypto"); - } return true; } }; diff --git a/qcm/libtorrent-rasterbar.qcm b/qcm/libtorrent-rasterbar.qcm index 61688ad4e..ecb8ded0d 100644 --- a/qcm/libtorrent-rasterbar.qcm +++ b/qcm/libtorrent-rasterbar.qcm @@ -19,9 +19,6 @@ public: return false; for(int n = 0; n < incs.count(); ++n) conf->addIncludePath(incs[n]); - if(conf->getenv("QC_DISABLE_GUI").isEmpty()) { - conf->addLib("-lcrypto"); - } return true; } }; diff --git a/unixconf.pri b/unixconf.pri index fcaf6f887..0cf235fe4 100644 --- a/unixconf.pri +++ b/unixconf.pri @@ -9,6 +9,7 @@ include(conf.pri) QMAKE_LFLAGS_APP += -rdynamic CONFIG += link_pkgconfig PKGCONFIG += libtorrent-rasterbar +LIBS += -lssl -lcrypto # Man page nox {