diff options
Diffstat (limited to 'postprocess/Module_postprocess.mk')
-rw-r--r-- | postprocess/Module_postprocess.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/postprocess/Module_postprocess.mk b/postprocess/Module_postprocess.mk index 9ccc41552f38..4671cbc84508 100644 --- a/postprocess/Module_postprocess.mk +++ b/postprocess/Module_postprocess.mk @@ -28,6 +28,19 @@ $(eval $(call gb_Module_add_targets,postprocess,\ )) endif +# For configurations that use fontconfig (cf. inclusion of +# vcl/unx/generic/fontmanager/fontconfig.cxx in Library_vcl), add +# instdir/share/fonts/truetype/fc_local.conf when it shall +# contain content from at least one of external/more_fonts/fc_local.snippet +# (conditional on MORE_FONTS in BUILD_TYPE) and +# extras/source/truetype/symbol/fc_local.snippet (unconditional): +ifneq ($(USING_X11)$(DISABLE_GUI)$(filter ANDROID,$(OS)),) +$(eval $(call gb_Module_add_targets,postprocess, \ + CustomTarget_fontconfig \ + Package_fontconfig \ +)) +endif + ifeq ($(OS),LINUX) ifneq ($(PKGFORMAT),) $(eval $(call gb_Module_add_check_targets,postprocess,\ |