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
@ -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 libpng --cflags --libs')
|
env.ParseConfig('pkg-config libpng16 --cflags --libs')
|
||||||
|
|
||||||
if (env['builtin_squish'] == 'no' and env["tools"] == "yes"):
|
if (env['builtin_squish'] == 'no' and env["tools"] == "yes"):
|
||||||
env.ParseConfig('pkg-config libsquish --cflags --libs')
|
env.ParseConfig('pkg-config libsquish --cflags --libs')
|
||||||
|
Loading…
Reference in New Issue
Block a user