summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-12-31 20:19:14 +0100
committerDavid Tardon <dtardon@redhat.com>2012-12-31 20:19:14 +0100
commitdd9655868e60af0f67de715f1f04aa0989b6b58b (patch)
tree90cb53bed34dd3b806f707b2af8d8a79a7b95fcd /solenv/gbuild
parentf8ed393b654066b7bb4e734e69da40abe3f715d5 (diff)
fix gb_Helper_execute
Change-Id: Ia3aa20d59a2d2a6e691242a420b3816fe0621325
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/Helper.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk
index 898ac449faab..b587fa95be65 100644
--- a/solenv/gbuild/Helper.mk
+++ b/solenv/gbuild/Helper.mk
@@ -206,7 +206,7 @@ $(foreach def,$(1),$(if $(filter TRUE YES,$($(def))),-D$(def)))
endef
define gb_Helper_execute
-$(gb_Helper_set_ld_path) $(call gb_Executable_get_command,$(1))
+$(gb_Helper_set_ld_path) $(call gb_Executable_get_command,$(firstword $(1))) $(wordlist 2,$(words $(1)),$(1))
endef
# gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use