From 0c2a1213048fbfbd021e43675ff09762835e9ffb Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 16 Apr 2011 19:59:35 +0000 Subject: [PATCH] Fix possible linking problems --- configure | 3 --- qcm/libtorrent-rasterbar.qcm | 3 --- unixconf.pri | 1 + 3 files changed, 1 insertion(+), 6 deletions(-) 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 {