mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Link against harfbuzz
This commit is contained in:
@@ -13,6 +13,7 @@ matrix:
|
||||
apt:
|
||||
packages:
|
||||
- libfontconfig1-dev
|
||||
- libharfbuzz-dev
|
||||
- libglew-dev
|
||||
- libxi-dev
|
||||
- libxrandr-dev
|
||||
@@ -34,6 +35,7 @@ matrix:
|
||||
apt:
|
||||
packages:
|
||||
- libfontconfig1-dev
|
||||
- libharfbuzz-dev
|
||||
- libglew-dev
|
||||
- libxi-dev
|
||||
- libxrandr-dev
|
||||
@@ -55,6 +57,7 @@ matrix:
|
||||
apt:
|
||||
packages:
|
||||
- libfontconfig1-dev
|
||||
- libharfbuzz-dev
|
||||
- libglew-dev
|
||||
- libxi-dev
|
||||
- libxrandr-dev
|
||||
|
||||
@@ -87,6 +87,7 @@ the following dependencies are installed first.
|
||||
* libpng
|
||||
* glew >= 2.0 (not needed on macOS)
|
||||
* fontconfig (not needed on macOS)
|
||||
* harfbuzz (not needed on macOS)
|
||||
* xrdb (only on X11 based systems)
|
||||
* xsel (only on X11 systems with glfw < 3.3)
|
||||
* ImageMagick (optional, needed to use the `kitty icat` tool to display images in the terminal)
|
||||
|
||||
2
setup.py
2
setup.py
@@ -163,6 +163,8 @@ def init_env(debug=False, sanitize=False, native_optimizations=True, profile=Fal
|
||||
else:
|
||||
cflags.extend(pkg_config('fontconfig', '--cflags-only-I'))
|
||||
font_libs = pkg_config('fontconfig', '--libs')
|
||||
cflags.extend(pkg_config('harfbuzz', '--cflags-only-I'))
|
||||
font_libs.extend(pkg_config('harfbuzz', '--libs'))
|
||||
cflags.extend(pkg_config('glfw3', '--cflags-only-I'))
|
||||
ldflags.append('-shared')
|
||||
pylib = get_python_flags(cflags)
|
||||
|
||||
Reference in New Issue
Block a user