Call pkg-config with libpng16 instead of libpng
Should fix compilation on linux systems that have libpng12 as their default libpng. libpng16 was released over five years ago! Sigh... Fixes #216
This commit is contained in:
parent
466d96c167
commit
11b17c09ce
2
setup.py
2
setup.py
@ -208,7 +208,7 @@ def kitty_env():
|
||||
cflags.append('-DPRIMARY_VERSION={}'.format(version[0] + 4000))
|
||||
cflags.append('-DSECONDARY_VERSION={}'.format(version[1]))
|
||||
at_least_version('harfbuzz', 1, 5)
|
||||
cflags.extend(pkg_config('libpng', '--cflags-only-I'))
|
||||
cflags.extend(pkg_config('libpng16', '--cflags-only-I'))
|
||||
if is_macos:
|
||||
font_libs = ['-framework', 'CoreText', '-framework', 'CoreGraphics']
|
||||
cflags.extend(pkg_config('freetype2', '--cflags-only-I'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user