You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2009/03/19 09:47:37 UTC

Re: best place to add a DEFINE for linux builds only

In message <3b...@mail.gmail.com>,
Nathan Beyer writes:
>
> I noticed that the linux.x86_64.mk overwrites XLIBS as follows -
> 
> XLIBS = -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
> 
> I'm running Ubuntu on an x86_64 and that folder doesn't exist at all.
> Is that a problem?

No.  It doesn't exist on my machines either.  I'm not sure which distro
did require it but it only adds to the search path so does no harm for
distros that don't need it.

The required libraries are in /usr/lib on my machines which will already
be on the search path.

-Mark

> On Wed, Mar 18, 2009 at 6:41 PM, Nathan Beyer <nb...@gmail.com> wrote:
> > I want to add 'XTHREADS' to the defines for Linux builds.
> >
> > On Wed, Mar 18, 2009 at 12:15 PM, Tim Ellison <t....@gmail.com>
> > wrote:
> >> Nathan Beyer wrote:
> >>> I'm playing around with an adjustment to the build that might help the
> >>> awt/swing crashes on linux. Where's the best place to add a define
> >>> statement to the make files for linux builds only.
> >>
> >> I didn't see any reply to this, apologies if I just missed it.
> >>
> >> For the class libraries it depends upon the scope you are changing, so
> >> you can put it into such places as
> >> =C2=A0awt/src/main/native/*/unix/makefile
> >>
> >> for targeted makes, or more globally in
> >> =C2=A0depends/build/platform/*
> >>
> >> for different architectures.
> >>
> >> What were you planning on trying?
> >>
> >> Regards,
> >> Tim