|
|
|
@ -425,16 +425,6 @@ public:
@@ -425,16 +425,6 @@ public:
|
|
|
|
|
if(!found) return false; |
|
|
|
|
conf->addLib(QString("-L") + s); |
|
|
|
|
} |
|
|
|
|
// BUGFIX for Fedora (doesn't support pkg-config?) |
|
|
|
|
QFile issue_file("/etc/issue"); |
|
|
|
|
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){ |
|
|
|
|
QString content = issue_file.readAll(); |
|
|
|
|
issue_file.close(); |
|
|
|
|
if(content.indexOf("Fedora") != -1){ |
|
|
|
|
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled"); |
|
|
|
|
conf->addLib("-lssl -lcrypto -lboost_date_time -lboost_filesystem -lboost_thread -lz -ltorrent"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|