Subject: Re: Dependencies on GCC shared libraries for Packages.txt?
To: None <firstname.lastname@example.org>
From: Soren Jacobsen <email@example.com>
Date: 04/08/2004 17:58:29
On 04/08 17:38, Jeremy C. Reed wrote:
> On Thu, 8 Apr 2004, Soren Jacobsen wrote:
> > Here's a sniplet from mk/compiler.mk:
> > # XXX Add this gross and completely inaccurate hack. Packages that
> > # XXX set USE_GCC_SHLIB should be adjusted to set USE_LANGUAGES
> > # XXX correctly (most likely by saying it needs either "c++" or
> > # XXX "c c++"). This is here for now so that ~85 packages won't
> > # XXX suddenly break.
> I forgot about this.
And I forgot to read the rest of the code in mk/compiler/ ;)
> > .if defined(USE_GCC_SHLIB)
> > USE_LANGUAGES?= c c++
> > .endif
> I'll have to look closer, but how does it know when to have a run-time
> DEPENDS because needing some g++ or gcc shared library versus just a
> build-time BUILD_DEPENDS?
It doesn't. USE_GCC_SHLIB is still necessary. See the block starting
at line 350 in mk/compiler/gcc.mk.