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:
Johannes Schickel 2013-09-17 02:31:04 +02:00
parent 783aa9977c
commit 856da53e8b
2 changed files with 6 additions and 0 deletions

View file

@ -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";