gbuild deps: removed header

Lubos Lunak l.lunak at
Mon Jul 23 02:23:29 PDT 2012

On Sunday 22 of July 2012, Matúš Kukan wrote:
> Hi all,
> Should gbuild dependencies survive removed header ?
> Something like:
> touch solver/*/inc/foo.h
> +#include <foo.h>
> e.g. in salhelper/source/condition.cxx
> make gb_FULLDEPS=T salhelper
> Now workdir/*/Dep/LinkTarget/Library/*salhelper*.d should contain foo.h
> So:
> rm solver/*/inc/foo.h
> -#include <foo.h>
> in salhelper/source/condition.cxx
> and make gb_FULLDEPS=T salhelper fails for me. Is it expected ?
> I thought it could work.

 And it does, at least here.

 I did not use gb_FULLDEPS=T though, if you had to use that because 
of --disable-dependency-tracking, maybe that is broken.

> But what works is if we use
> /home/matus/git/libo/solver/
>     @true
> instead of just
> /home/matus/git/libo/solver/
> Do we want to hack contac-deps and add @true there ?

 No. That should not make any difference AFAIK. Your problem should be 

 See also the -MP option in gcc manpage.

 Lubos Lunak
 l.lunak at

More information about the LibreOffice mailing list