From c25eee44966703cb27d632bccb39b20978341ffd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 19 Apr 2017 12:02:25 +0100 Subject: build boost::locale library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I40b89a0df483645fc743fb092d3d39ea682c510c Reviewed-on: https://gerrit.libreoffice.org/37060 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- RepositoryExternal.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'RepositoryExternal.mk') diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 7a6db951ef94..eb0b3e2c9d40 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -577,6 +577,11 @@ $(call gb_LinkTarget_add_libs,$(1),$(2)) endef +define gb_LinkTarget__use_boost_locale +$(call gb_LinkTarget__use_boost_lib,$(1),$(BOOST_LOCALE_LIB)) + +endef + define gb_LinkTarget__use_boost_date_time $(call gb_LinkTarget__use_boost_lib,$(1),$(BOOST_DATE_TIME_LIB)) @@ -624,6 +629,14 @@ $(call gb_LinkTarget_use_static_libraries,$(1),$(2)) endef +define gb_LinkTarget__use_boost_locale +$(call gb_LinkTarget__use_boost_lib,$(1),boost_locale) +$(call gb_LinkTarget_add_libs,$(1),\ + $(if $(filter $(OS),MACOSX),-liconv) \ +) + +endef + define gb_LinkTarget__use_boost_date_time $(call gb_LinkTarget__use_boost_lib,$(1),boost_date_time) -- cgit