CREATE_PROJECT: Consistent name for zlib

The feature name didn't match with other code.
This commit is contained in:
Henrik "Henke37" Andersson
2022-01-06 22:43:05 +02:00
committed by Filippos Karapetis
parent ada9bd3098
commit 61e2c5c928
4 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -58,8 +58,10 @@ StringList getFeatureLibraries(const BuildSetup &setup) {
for (FeatureList::const_iterator i = setup.features.begin(); i != setup.features.end(); ++i) {
if (i->enable && i->library) {
std::string libname;
if (!std::strcmp(i->name, "libz") || !std::strcmp(i->name, "libcurl")) {
if (!std::strcmp(i->name, "libcurl")) {
libname = i->name;
} else if (!std::strcmp(i->name, "zlib")) {
libname = "libz";
} else if (!std::strcmp(i->name, "vorbis")) {
libname = "libvorbis";
libraries.push_back("libvorbisfile");