From 73e7af9e28805dda25f91fd509e3860d8586ad9f Mon Sep 17 00:00:00 2001
From: Jan Kratochvil
Date: Fri, 2 Jun 2023 08:41:28 +0000
Subject: [PATCH] 8309287: Add fontconfig requirement to building.md for Debian
Reviewed-by: erikj
---
doc/building.html | 2 ++
doc/building.md | 2 ++
2 files changed, 4 insertions(+)
diff --git a/doc/building.html b/doc/building.html
index 824b742ffe3..54828da9991 100644
--- a/doc/building.html
+++ b/doc/building.html
@@ -685,6 +685,8 @@ does not automatically locate the platform FreeType files.
Fontconfig is required on all platforms except Windows and
macOS.
+- To install on an apt-based Linux, try running
+
sudo apt-get install libfontconfig-dev
.
- To install on an rpm-based Linux, try running
sudo yum install fontconfig-devel
.
diff --git a/doc/building.md b/doc/building.md
index 801b758f7e0..d6d89d7887f 100644
--- a/doc/building.md
+++ b/doc/building.md
@@ -480,6 +480,8 @@ if `configure` does not automatically locate the platform FreeType files.
Fontconfig from [freedesktop.org Fontconfig](http://fontconfig.org) is required
on all platforms except Windows and macOS.
+ * To install on an apt-based Linux, try running `sudo apt-get install
+ libfontconfig-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
fontconfig-devel`.