mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
DEVTOOLS: Adapt create_project for libjpeg support.
The library name of the static library is based on what libjpeg-turbo uses which should be fine for Windows at least. Untested except for compilation of create_project.
This commit is contained in:
parent
783aa9977c
commit
856da53e8b
@ -64,6 +64,11 @@ std::string processLibraryName(std::string name) {
|
||||
if (pos != std::string::npos)
|
||||
return name.replace(pos, 7, "");
|
||||
|
||||
// Remove "-static" in lib name
|
||||
pos = name.find("-static");
|
||||
if (pos != std::string::npos)
|
||||
return name.replace(pos, 7, "");
|
||||
|
||||
// Replace "zlib" by "libz"
|
||||
if (name == "zlib")
|
||||
return "libz";
|
||||
|
@ -845,6 +845,7 @@ const Feature s_features[] = {
|
||||
{ "mpeg2", "USE_MPEG2", "libmpeg2", false, "MPEG-2 support" },
|
||||
{ "theora", "USE_THEORADEC", "libtheora_static", true, "Theora decoding support" },
|
||||
{"freetype", "USE_FREETYPE2", "freetype", true, "FreeType support" },
|
||||
{ "jpeg", "USE_JPEG", "jpeg-static", true, "libjpeg support" },
|
||||
|
||||
// Feature flags
|
||||
{ "bink", "USE_BINK", "", true, "Bink video support" },
|
||||
|
Loading…
Reference in New Issue
Block a user