summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-10-07 17:33:18 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-10-07 17:33:18 +0200
commit6acb59a26dbc20e09ff32f0a9672f572ce62df83 (patch)
tree04601ebaeb8d1243d5ecf9911827342846f4e41c /solenv
parent084e181b6ccdafed1acafa11ab75335703eb0b40 (diff)
Fix parameters for gb_GenFooObject_get_source
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 44eae0004c81..4ee9e9051599 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -855,7 +855,7 @@ endif
endef
define gb_LinkTarget_add_generated_c_object
-$(if $(wildcard $(call gb_GenCObject_get_source,$(SRCDIR),$(2))),,$(eval $(call gb_Output_error,No such source file $(call gb_GenCObject_get_source,$(SRCDIR),$(2)))))
+$(if $(wildcard $(call gb_GenCObject_get_source,$(2))),,$(eval $(call gb_Output_error,No such source file $(call gb_GenCObject_get_source,$(2)))))
$(call gb_LinkTarget_get_target,$(1)) : GENCOBJECTS += $(2)
$(call gb_LinkTarget_get_clean_target,$(1)) : GENCOBJECTS += $(2)
@@ -876,7 +876,7 @@ endif
endef
define gb_LinkTarget_add_generated_cxx_object
-$(if $(wildcard $(call gb_GenCxxObject_get_source,$(SRCDIR),$(2))),,$(eval $(call gb_Output_error,No such source file $(call gb_GenCxxObject_get_source,$(SRCDIR),$(2)))))
+$(if $(wildcard $(call gb_GenCxxObject_get_source,$(2))),,$(eval $(call gb_Output_error,No such source file $(call gb_GenCxxObject_get_source,$(2)))))
$(call gb_LinkTarget_get_target,$(1)) : GENCXXOBJECTS += $(2)
$(call gb_LinkTarget_get_clean_target,$(1)) : GENCXXOBJECTS += $(2)