Revert "libpng: Fix erroneously linking against libpng12 on old distros"
This reverts commits5fa1bb331a
andec4be71fad
. 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. (cherry picked from commitc32766a482
)
This commit is contained in:
parent
76233a3022
commit
326978dcce
|
@ -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.)
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue