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

Andy Furniss andyqos at ukfsn.org
Mon Jul 25 04:50:55 PDT 2011


Christian König wrote:
> 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?

It's OK, now thanks.

I have started setting LDFLAGS as Dan suggested.

>
> 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...

Yea - I usually disable llvm because it doesn't use pkgconf, but it 
usually seems to work apart from that.

vdpau does have it's own .pc and my PKG_CONFIG_PATH is set - it's just 
that it wasn't checked for.

For me it's probably safer using LDFLAGS and CPPFLAGS anyway as I have 
other things in abnormal places.


More information about the mesa-dev mailing list