summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-08-28 08:19:26 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-30 22:01:22 +0200
commit94549e6323d0a187501be83fa3badbc9e76734ca (patch)
tree44bed585c4c136e984397f8e3306b1f866c8e600
parentdfec449dd24e17effdf56557ba4a359f976200c3 (diff)
downloadptxdist-94549e6323d0a187501be83fa3badbc9e76734ca.tar.gz
ptxdist-94549e6323d0a187501be83fa3badbc9e76734ca.tar.xz
harfbuzz: add option to install libharfbuzz-subset
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/harfbuzz.in4
-rw-r--r--rules/harfbuzz.make3
2 files changed, 7 insertions, 0 deletions
diff --git a/rules/harfbuzz.in b/rules/harfbuzz.in
index 235bff60c..84c5d7e4b 100644
--- a/rules/harfbuzz.in
+++ b/rules/harfbuzz.in
@@ -20,4 +20,8 @@ config HARFBUZZ_ICU
bool
prompt "ICU support"
+config HARFBUZZ_SUBSET
+ bool
+ prompt "install harfbuzz subset library"
+
endif
diff --git a/rules/harfbuzz.make b/rules/harfbuzz.make
index 778448c7b..5c9f1c4f1 100644
--- a/rules/harfbuzz.make
+++ b/rules/harfbuzz.make
@@ -63,6 +63,9 @@ $(STATEDIR)/harfbuzz.targetinstall:
@$(call install_fixup, harfbuzz,DESCRIPTION, "OpenType text shaping engine")
@$(call install_lib, harfbuzz, 0, 0, 0644, libharfbuzz)
+ifdef PTXCONF_HARFBUZZ_SUBSET
+ @$(call install_lib, harfbuzz, 0, 0, 0644, libharfbuzz-subset)
+endif
ifdef PTXCONF_HARFBUZZ_ICU
@$(call install_lib, harfbuzz, 0, 0, 0644, libharfbuzz-icu)
endif