[Libreoffice] windows dependency tool and GenCxxObjects
Caolán McNamara
caolanm at redhat.com
Thu Aug 4 03:46:08 PDT 2011
Trying to see why my windows build just loop endlessly in basegfx with
unfulfilled dependencies I see that the target in basegfx is a
GenCxxObject, now...
solenv/gbuild/LinkTarget.mk
is...
$(call gb_GenCxxObject_get_target,%) : $(call
gb_GenCxxObject_get_source,%)
$(call gb_CxxObject__command,$@,$*,$<,$(call
gb_GenCxxObject_get_dep_target,$*))
so the GenCxxObject calls gb_CxxObject__command
the solenv/gbuild/platform/windows.mk has...
define gb_CxxObject__command
$(call gb_Output_announce,$(2),$(true),CXX,3)
...
... gb_CxxObject_get_dep_target,$(2))
...
When its a GenCxxObject that's the wrong target, right. i.e. it should
be gb_GenCxxObject_get_dep_target not gb_CxxObject_get_dep_target.
And anyway, don't we have this already available as $4 ?
The attached patch allows me to build build basegfx again anyway under
windows. Is it right ?
C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win.depends.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110804/244d69e5/attachment.bin>
More information about the LibreOffice
mailing list