diff options
| author | Rémi Verschelde | 2016-11-19 12:59:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-11-19 12:59:48 +0100 |
| commit | 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa4 (patch) | |
| tree | d9931706b33729e60186d201d3b2b4a2b64da0a6 | |
| parent | 159650fe6fabbb8be6898f39530015d4f0c33c56 (diff) | |
| download | godot-5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa.tar.gz godot-5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa.tar.zst godot-5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa.zip | |
libpng: Fix erroneously linking against libpng12 on old distros
This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where
libpng.pc apparently prioritizes libpng12.
| -rw-r--r-- | platform/x11/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index d8cd79297..0e5875dff 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -144,7 +144,7 @@ def configure(env): env.ParseConfig('pkg-config freetype2 --cflags --libs') if (env['builtin_libpng'] == 'no'): - env.ParseConfig('pkg-config libpng --cflags --libs') + env.ParseConfig('pkg-config libpng16 --cflags --libs') if (env['builtin_enet'] == 'no'): env.ParseConfig('pkg-config libenet --cflags --libs') |
