On Jul 15, 2011 12:06 PM, "Andy Furniss" <andy...@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.

--
Dan
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to