[haiku-commits] Re: r36175 - in haiku/trunk: build/jam data/catalogs data/catalogs/kits data/catalogs/kits/locale headers/os/locale ...

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 12 Apr 2010 12:05:23 +0200

On 2010-04-12 at 09:38:10 [+0200], PulkoMandy <pulkomandy@xxxxxxxxx> wrote:
> >> +
> >> +DoCatalogs liblocale.so :
> >> +       system
> >> +       : ../shared/StringForSize.cpp
> >
> > This path construction doesn't look right, did you try with the
> > following ?
> > SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
> 
> No. This would include the search path in liblocale.so building too (same
> target), and I'm not sure that's a good idea. Can I do it only for the
> DoCatalogs invocation ?

Just use something like:

SEARCH on [ FGristFiles StringForSize.cpp ] += [ FDirName ... ] ;

and just pass StringForSize.cpp to DoCatalogs.

CU, Ingo

Other related posts: