summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-07-26 08:19:57 +0200
committerDavid Tardon <dtardon@redhat.com>2011-07-26 08:28:24 +0200
commitfd0d321ba4d5c70739c7ea80db948ac0054fd949 (patch)
tree9ec926a4e4cb73a148fc687b9efbb8818358147c /solenv
parent728c0dd9067cd2b45eaa7397cf7f02c84032c651 (diff)
must call eval there
foreach concatenates the partial results by space, which creates lines like target : LIBS += lib1 target : LIBS += lib2 ... Obviously, evaluation of that is different from target : LIBS += lib1 target : LIBS += lib2 ... So we really must evaluate every partial result.
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 4413f09e039a..d249db7c91cb 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -889,7 +889,7 @@ endef
# $(call gb_LinkTarget_use_externals,library,externals)
gb_LinkTarget_use_externals = \
- $(foreach external,$(2),$(call gb_LinkTarget_use_external,$(1),$(external)))
+ $(foreach external,$(2),$(eval $(call gb_LinkTarget_use_external,$(1),$(external))))
# vim: set noet sw=4: