[Mesa-dev] [PATCH] g3dvl: check for existence of header/libs

Christian König deathsimple at vodafone.de
Sun Jul 24 17:08:04 PDT 2011


Hi,

sorry for the late reply, have been in Canada on a team meeting.

Did you got it working Andy or do you need some more help?

I think the overall situation with finding libraries in the mesa
makefiles is not the best, but that's not prio 1 at the moment.

It should work with a standard installation (pkgconf based), but I don't
think that it will work if you try something unusual, like cross
compiling or having multiple versions of a lib installed in different
directories...

Christian.


Am Sonntag, den 17.07.2011, 07:56 -0700 schrieb Dan Nicholson:
> On Jul 15, 2011 12:06 PM, "Andy Furniss" <andyqos at ukfsn.org> wrote:
> >
> > Andy Furniss wrote:
> >
> >> I have another problem though, vdpau-softpipe is not using my
> >> LD_LIBRARY_PATH so fails to find where my lvdpau is.
> >>
> >> As you can see from below r600 does use it and adds
> >> -L/home/andy/Src/Xorg-git/modular/lib and links OK.
> >
> >
> > Maybe this doesn't come from LD_LIBRARY_PATH and instead it works by
> luck as my libdrm is in the same place - I guess it comes from
> pkgconfig as the r600 Makefile has -
> >
> > DRIVER_LIBS = $(shell pkg-config libdrm --libs) -lXfixes
> 
> Yeah, that's he reason. You want to use LDFLAGS at build time.
> LD_LIBRARY_PATH is used at run time.





More information about the mesa-dev mailing list