Revert "libpng: Fix erroneously linking against libpng12 on old distros"

This reverts commits 5fa1bb331a
and ec4be71fad.

Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their
stable releases, we'll have to go back to statically linking our own
libpng16 to wait for them to stop being 5 years behind everybody.
This commit is contained in:
Rémi Verschelde 2016-11-19 13:38:46 +01:00
parent ec4be71fad
commit c32766a482
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ def configure(env):
env.ParseConfig('pkg-config freetype2 --cflags --libs') env.ParseConfig('pkg-config freetype2 --cflags --libs')
if (env['builtin_libpng'] == 'no'): if (env['builtin_libpng'] == 'no'):
env.ParseConfig('pkg-config libpng16 --cflags --libs') env.ParseConfig('pkg-config libpng --cflags --libs')
if (env['builtin_enet'] == 'no'): if (env['builtin_enet'] == 'no'):
env.ParseConfig('pkg-config libenet --cflags --libs') env.ParseConfig('pkg-config libenet --cflags --libs')

View file

@ -144,7 +144,7 @@ def configure(env):
env.ParseConfig('pkg-config freetype2 --cflags --libs') env.ParseConfig('pkg-config freetype2 --cflags --libs')
if (env['builtin_libpng'] == 'no'): if (env['builtin_libpng'] == 'no'):
env.ParseConfig('pkg-config libpng16 --cflags --libs') env.ParseConfig('pkg-config libpng --cflags --libs')
if (env['builtin_enet'] == 'no'): if (env['builtin_enet'] == 'no'):
env.ParseConfig('pkg-config libenet --cflags --libs') env.ParseConfig('pkg-config libenet --cflags --libs')