summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-11-19 12:59:26 +0100
committerRémi Verschelde <rverschelde@gmail.com>2016-11-19 12:59:48 +0100
commit5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa4 (patch)
treed9931706b33729e60186d201d3b2b4a2b64da0a6 /platform/x11
parent159650fe6fabbb8be6898f39530015d4f0c33c56 (diff)
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.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index d8cd79297e..0e5875dff7 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')