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.
(cherry picked from commit 5fa1bb331a
)
This commit is contained in:
parent
3e2247ca53
commit
220bcbf7c0
1 changed files with 1 additions and 1 deletions
|
@ -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_squish'] == 'no' and env["tools"] == "yes"):
|
||||
env.ParseConfig('pkg-config libsquish --cflags --libs')
|
||||
|
|
Loading…
Reference in a new issue