summaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-07-10 01:24:55 +0300
committerGitHub <noreply@github.com>2020-07-10 01:24:55 +0300
commit0210a43196611c7c9216e923e3e11c6fe1b98876 (patch)
treeef344c18000e6c9dc99668a58f4c56dce76221e8 /alacritty_terminal
parent46c0f352c40ecb68653421cb178a297acaf00c6d (diff)
downloadalacritty-0210a43196611c7c9216e923e3e11c6fe1b98876.tar.gz
alacritty-0210a43196611c7c9216e923e3e11c6fe1b98876.zip
Fail compilation if Fontconfig is not installed on Linux/BSD
Statically linking Fontconfig was leading to slow startup and various errors, so forcing the use of system's library.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 9345a76f..3e796ba6 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
libc = "0.2"
bitflags = "1"
-font = { path = "../font" }
+font = { path = "../font", features = ["force_system_fontconfig"] }
parking_lot = "0.10.2"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.8"