diff options
| author | Rémi Verschelde | 2016-10-09 23:36:17 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-15 11:50:39 +0200 |
| commit | 5fef84a1358310304cb1114924525ec4df794b49 (patch) | |
| tree | 0ccafa62380328af528d3f11fb144b4a3fd933f3 /platform/x11/detect.py | |
| parent | 17f06202b7d5e00b6bf250e03b0ca994ee5dd298 (diff) | |
| download | godot-5fef84a1358310304cb1114924525ec4df794b49.tar.gz godot-5fef84a1358310304cb1114924525ec4df794b49.tar.zst godot-5fef84a1358310304cb1114924525ec4df794b49.zip | |
Diffstat (limited to 'platform/x11/detect.py')
| -rw-r--r-- | platform/x11/detect.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index ba232f6d4..98774e855 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -71,10 +71,10 @@ def get_flags(): ('builtin_zlib', 'no'), ('glew', 'yes'), ("openssl", "yes"), - ('freetype','yes'), #use system freetype - + ('freetype','yes'), # use system freetype + ('libpng', 'system'), #("theora","no"), - ] + ] @@ -143,6 +143,8 @@ def configure(env): if (env["openssl"]=="yes"): env.ParseConfig('pkg-config openssl --cflags --libs') + if (env["libpng"] == "system"): + env.ParseConfig('pkg-config libpng --cflags --libs') if (env["freetype"]=="yes"): env.ParseConfig('pkg-config freetype2 --cflags --libs') |
