mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
- Removed Fedora pkg-config workaround because Fedora 8 fixed the problem
This commit is contained in:
parent
8aaacbe38d
commit
fe37724338
3 changed files with 1 additions and 20 deletions
1
TODO
1
TODO
|
@ -60,3 +60,4 @@
|
||||||
rc7->rc8 changelog:
|
rc7->rc8 changelog:
|
||||||
- BUGFIX: Fixed torrent files filtering
|
- BUGFIX: Fixed torrent files filtering
|
||||||
- BUGFIX: Stop search when clearing results
|
- BUGFIX: Stop search when clearing results
|
||||||
|
- BUGFIX: Fixed compilation on Fedora 8
|
||||||
|
|
10
configure
vendored
10
configure
vendored
|
@ -425,16 +425,6 @@ public:
|
||||||
if(!found) return false;
|
if(!found) return false;
|
||||||
conf->addLib(QString("-L") + s);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -65,16 +65,6 @@ public:
|
||||||
if(!found) return false;
|
if(!found) return false;
|
||||||
conf->addLib(QString("-L") + s);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue