diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2016-11-30 14:36:51 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-30 21:56:09 +0000 |
commit | 52d409f0d657f314a53f945c9ffb5b8025bea034 (patch) | |
tree | f4a997bd505076812edd7cc90b47f9047ea3e2a8 /solenv/gbuild/extensions | |
parent | don't hold vector as pointer here ... (diff) | |
download | core-52d409f0d657f314a53f945c9ffb5b8025bea034.tar.gz core-52d409f0d657f314a53f945c9ffb5b8025bea034.zip |
gbuild: Prevent wrong use of gb_Helper_optional_for_host
It's empty, unless gb_Side=build.
This fixes commit 1193443b15b0e38cbfb41573b31acf9a8d90ce2c
Change-Id: I83efad36d8f40c460d09ee1bd1addd7fb26c177b
Reviewed-on: https://gerrit.libreoffice.org/31419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'solenv/gbuild/extensions')
-rw-r--r-- | solenv/gbuild/extensions/pre_BuildTools.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/extensions/pre_BuildTools.mk b/solenv/gbuild/extensions/pre_BuildTools.mk index f387df6cf9fa..5daf671e082b 100644 --- a/solenv/gbuild/extensions/pre_BuildTools.mk +++ b/solenv/gbuild/extensions/pre_BuildTools.mk @@ -8,6 +8,7 @@ # # Tools we need to build for cross-compiling +ifeq ($(gb_Side),build) gb_BUILD_TOOLS = \ $(foreach executable, \ bestreversemap \ @@ -44,4 +45,6 @@ gb_BUILD_TOOLS = \ ,$(call gb_ExternalExecutable_get_dependencies,$(executable))) \ $(INSTROOT)/$(LIBO_URE_ETC_FOLDER)/$(call gb_Helper_get_rcfile,uno) \ +endif + # vim: set noet sw=4 ts=4: |