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

Dan Nicholson dbn.lists at gmail.com
Sun Jul 17 07:56:38 PDT 2011

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110717/1c6a3e71/attachment.html>

More information about the mesa-dev mailing list