On Windows, fontconfig looks for fonts.conf in a "fonts" subfolder of the folder where DLL is where the fontconfig code lives. Thus in our case, the "program" folder. Change-Id: I2d7ae5ea02c61bd22c2ae9ca19e1138ffd35881e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194612 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Thorsten Behrens <thorsten.behrens@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197500 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@iki.fi>
35 lines
909 B
Makefile
35 lines
909 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Module_Module,fontconfig))
|
|
|
|
$(eval $(call gb_Module_add_targets,fontconfig,\
|
|
UnpackedTarball_fontconfig \
|
|
))
|
|
|
|
ifeq ($(COM),MSC)
|
|
|
|
$(eval $(call gb_Module_add_targets,fontconfig,\
|
|
StaticLibrary_fontconfig \
|
|
ExternalPackage_fontconfig_data \
|
|
))
|
|
|
|
else
|
|
|
|
$(eval $(call gb_Module_add_targets,fontconfig,\
|
|
ExternalProject_fontconfig \
|
|
$(if $(filter EMSCRIPTEN,$(OS)),ExternalPackage_fontconfig_data) \
|
|
$(if $(filter MACOSX,$(OS)),ExternalPackage_fontconfig_data) \
|
|
$(if $(filter FONTCONFIG,$(BUILD_TYPE)),ExternalPackage_fontconfig) \
|
|
))
|
|
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|