John Burrell wrote:
> 
> 
>> You know that LD_LIBRARY_PATH is only for execution (as in /usr/bin/ld),
>> and not for gcc -L paths, right?
>>
>> For gcc, you need the LIBRARY_PATH environment variable.
> 
> Yes, I assumed the people at SUSE set LD_LIBRARY_PATH in the patch because 
> gcc uses ld at link time - so the dynamic libraries are linked in correctly.
> 
> But I must confess that I just copied the patch, I didn't start investigating 
> what
> the patch was actually doing in detail.

OK, they must be using a prebuilt library and an executable in the 
development tree.  I just thought LD_LIBRARY_PATH was unusual in a build 
script.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to