harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: best place to add a DEFINE for linux builds only
Date Thu, 19 Mar 2009 08:47:37 GMT

In message <3b3f27c60903181703j2ec2f752m9fc688f6d36b7f09@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 <nbeyer@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.p.ellison@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





Mime
View raw message