mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
CREATE_PROJECT: Consistent name for zlib
The feature name didn't match with other code.
This commit is contained in:
committed by
Filippos Karapetis
parent
ada9bd3098
commit
61e2c5c928
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user