Frank Lichtenheld wrote:
> On Tue, Dec 04, 2007 at 10:27:35AM +0000, Neil Williams wrote:
>>  use constant DEFAULT_LIBRARY_PATH =>
>>      qw(/lib /usr/lib /lib32 /usr/lib32 /lib64 /usr/lib64
>>         /emul/ia32-linux/lib /emul/ia32-linux/usr/lib);
> [...]
>> +if ($crossprefix)
>> +{
>> +    @shlibdeps = ( "${crossprefix}/lib", "/usr/${crossprefix}/lib",
>> +    "/${crossprefix}/lib32", "/usr/${crossprefix}/lib32",
>> +    "/${crossprefix}/lib64", "/usr/${crossprefix}/lib64",
>> +    "/emul/ia32-linux/lib", "/emul/ia32-linux/usr/lib" );
>> +}
> 
> Why do you add "/emul/ia32-linux/lib", "/emul/ia32-linux/usr/lib" again?
> 
> Gruesse,


Oops.

Do you want a new patch with that final line amended?

Sorry about the typo - there is no need for the repeated /emul/, it is a
hangover from when the cross paths overwrote the standard paths instead
of appending to them.

It should be:

+if ($crossprefix)
+{
+    @shlibdeps = ( "${crossprefix}/lib", "/usr/${crossprefix}/lib",
+    "/${crossprefix}/lib32", "/usr/${crossprefix}/lib32",
+    "/${crossprefix}/lib64", "/usr/${crossprefix}/lib64");
+}


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to