fontconfig: use libraries from WORKDIR

Change-Id: I4b967187bca35527a3c3d718952ae0a3ae6ebae9
This commit is contained in:
Michael Stahl 2013-10-24 11:01:41 +02:00
parent 5b90662d7a
commit 76596b3948
4 changed files with 2 additions and 19 deletions

View file

@ -1115,6 +1115,7 @@ endef
else ifeq ($(OS),ANDROID)
define gb_LinkTarget__use_fontconfig
$(call gb_LinkTarget_use_external_project,$(1),fontconfig)
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,fontconfig) \
$$(INCLUDE) \

View file

@ -89,6 +89,7 @@ LIBS = \
$(HYPHEN_LIB) \
$(MYTHES_LIBS) \
$(wildcard $(WORKDIR)/UnpackedTarball/curl/lib/.libs/*.a) \
$(wildcard $(WORKDIR)/UnpackedTarball/fontconfig/src/.libs/libfontconfig.a) \
$(wildcard $(WORKDIR)/UnpackedTarball/icu/source/lib/*.a) \
$(wildcard $(WORKDIR)/UnpackedTarball/lcms2/src/.libs/*.a) \
$(wildcard $(WORKDIR)/UnpackedTarball/libcdr/src/lib/.libs/*.a) \

View file

@ -1,18 +0,0 @@
# -*- 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_ExternalPackage_ExternalPackage,fontconfig,fontconfig))
$(eval $(call gb_ExternalPackage_use_external_project,fontconfig,fontconfig))
$(eval $(call gb_ExternalPackage_add_files,fontconfig,lib,\
src/.libs/libfontconfig.a \
))
# vim: set noet sw=4 ts=4:

View file

@ -12,7 +12,6 @@ $(eval $(call gb_Module_Module,fontconfig))
ifeq ($(OS),ANDROID)
$(eval $(call gb_Module_add_targets,fontconfig,\
ExternalPackage_fontconfig \
ExternalProject_fontconfig \
UnpackedTarball_fontconfig \
))