diff --git a/platform/server/detect.py b/platform/server/detect.py index 978b474f286..caad6d73833 100644 --- a/platform/server/detect.py +++ b/platform/server/detect.py @@ -80,7 +80,7 @@ def configure(env): env.ParseConfig('pkg-config freetype2 --cflags --libs') if (env['builtin_libpng'] == 'no'): - env.ParseConfig('pkg-config libpng16 --cflags --libs') + env.ParseConfig('pkg-config libpng --cflags --libs') # Sound and video libraries # Keep the order as it triggers chained dependencies (ogg needed by others, etc.) diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 67751649103..675fea51790 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 libpng16 --cflags --libs') + env.ParseConfig('pkg-config libpng --cflags --libs') if (env['builtin_squish'] == 'no' and env["tools"] == "yes"): env.ParseConfig('pkg-config libsquish --cflags --libs')