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
2 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue