<p>On Jul 15, 2011 12:06 PM, "Andy Furniss" <<a href="mailto:andyqos@ukfsn.org">andyqos@ukfsn.org</a>> wrote:<br>
><br>
> Andy Furniss wrote:<br>
><br>
>> I have another problem though, vdpau-softpipe is not using my<br>
>> LD_LIBRARY_PATH so fails to find where my lvdpau is.<br>
>><br>
>> As you can see from below r600 does use it and adds<br>
>> -L/home/andy/Src/Xorg-git/modular/lib and links OK.<br>
><br>
><br>
> 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 -<br>
><br>
> DRIVER_LIBS = $(shell pkg-config libdrm --libs) -lXfixes</p>
<p>Yeah, that's he reason. You want to use LDFLAGS at build time. LD_LIBRARY_PATH is used at run time.</p>
<p>--<br>
Dan</p>