This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Niels Kristian Bech Jensen <nkbj1970@hotmail.com>
Date: Sat, 22 Aug 2015 11:25:36 +0200
Subject: [PATCH 1/2] fix *.pc file for harfbuzz-icu


diff --git a/src/harfbuzz-icu.pc.in b/src/harfbuzz-icu.pc.in
index 1111111..2222222 100644
--- a/src/harfbuzz-icu.pc.in
+++ b/src/harfbuzz-icu.pc.in
@@ -8,6 +8,7 @@ Description: HarfBuzz text shaping library ICU integration
 Version: %VERSION%
 
 Requires: harfbuzz
-Requires.private: icu-uc
+Requires.private: icu-uc cairo-ft glib-2.0
 Libs: -L${libdir} -lharfbuzz-icu
+Libs.private: -lusp10 -lgdi32
 Cflags: -I${includedir}/harfbuzz
diff --git a/src/harfbuzz.pc.in b/src/harfbuzz.pc.in
index 1111111..2222222 100644
--- a/src/harfbuzz.pc.in
+++ b/src/harfbuzz.pc.in
@@ -7,7 +7,8 @@ Name: harfbuzz
 Description: HarfBuzz text shaping library
 Version: %VERSION%
 
+Requires.private: cairo-ft glib-2.0
 Libs: -L${libdir} -lharfbuzz
-Libs.private: -lm %libs_private%
+Libs.private: -lm %libs_private% -lusp10 -lgdi32
 Requires.private: %requires_private%
 Cflags: -I${includedir}/harfbuzz

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 17 Dec 2021 02:29:43 +0100
Subject: [PATCH 2/2] don't build test or docs


diff --git a/Makefile.am b/Makefile.am
index 1111111..2222222 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ NULL =
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = src util test perf docs
+SUBDIRS = src util
 
 EXTRA_DIST = \
 	autogen.sh \
