[Libreoffice-commits] .: solenv/gbuild

Matus Kukan mkukan at kemper.freedesktop.org
Fri Oct 7 08:33:55 PDT 2011


 solenv/gbuild/LinkTarget.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6acb59a26dbc20e09ff32f0a9672f572ce62df83
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Fri Oct 7 17:33:18 2011 +0200

    Fix parameters for gb_GenFooObject_get_source

diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 44eae00..4ee9e90 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)
 


More information about the Libreoffice-commits mailing list