diff --git a/platform/x11/detect.py b/platform/x11/detect.py index d8cd79297e5..0e5875dff7c 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')