You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
freetype: Make it a module and split thirdparty library
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
(cherry picked from commit edbc0c0d0b)
This commit is contained in:
@@ -69,7 +69,7 @@ def get_flags():
|
||||
|
||||
return [
|
||||
("openssl", "system"),
|
||||
('freetype','yes'), # use system freetype
|
||||
('freetype', 'system'),
|
||||
('libpng', 'system'),
|
||||
]
|
||||
|
||||
@@ -140,16 +140,15 @@ def configure(env):
|
||||
if (env["openssl"] == "system"):
|
||||
env.ParseConfig('pkg-config openssl --cflags --libs')
|
||||
|
||||
if (env["libpng"] == "system"):
|
||||
env.ParseConfig('pkg-config libpng --cflags --libs')
|
||||
|
||||
if (env["libwebp"] == "system"):
|
||||
env.ParseConfig('pkg-config libwebp --cflags --libs')
|
||||
|
||||
if (env["freetype"]=="yes"):
|
||||
if (env["freetype"] == "system"):
|
||||
env["libpng"] = "system" # Freetype links against libpng
|
||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||
|
||||
|
||||
if (env["libpng"] == "system"):
|
||||
env.ParseConfig('pkg-config libpng --cflags --libs')
|
||||
|
||||
if (env["squish"] == "system" and env["tools"] == "yes"):
|
||||
env.ParseConfig('pkg-config libsquish --cflags --libs')
|
||||
|
||||
Reference in New Issue
Block a user