Link against harfbuzz

This commit is contained in:
Kovid Goyal
2017-10-24 11:28:49 +05:30
parent 2b9034759a
commit 89d5387a52
3 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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)