You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Revert "libpng: Fix erroneously linking against libpng12 on old distros"
This reverts commits5fa1bb331aandec4be71fad. 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:
@@ -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')
|
||||
|
||||
if (env['builtin_enet'] == 'no'):
|
||||
env.ParseConfig('pkg-config libenet --cflags --libs')
|
||||
|
||||
@@ -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_enet'] == 'no'):
|
||||
env.ParseConfig('pkg-config libenet --cflags --libs')
|
||||
|
||||
Reference in New Issue
Block a user