aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde2016-10-11 23:35:58 +0200
committerRémi Verschelde2016-10-30 14:51:30 +0100
commit55414bc573d7d37e85eff5a7a11a6d72cebe83ba (patch)
treeb98a2897ad663dd299a668db173496a3b28c00a3 /platform
parent819ccdd34075aafcf4fd04069ddcb7e0bdef9ab1 (diff)
downloadgodot-55414bc573d7d37e85eff5a7a11a6d72cebe83ba.tar.gz
godot-55414bc573d7d37e85eff5a7a11a6d72cebe83ba.tar.zst
godot-55414bc573d7d37e85eff5a7a11a6d72cebe83ba.zip
webp: Make it a module and unbundle libwebp thirdparty files
Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md. (cherry picked from commit ee3cf211c6fd4d1e30617467cdbbe945798a68b3)
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 98774e855..94429f91b 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -146,6 +146,9 @@ def configure(env):
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"):
env.ParseConfig('pkg-config freetype2 --cflags --libs')