Fix getlibdirs when libdirs is unset
parent
d9dd357eb2
commit
f570c89214
|
@ -569,7 +569,10 @@ sub getsetup () {
|
|||
}
|
||||
|
||||
sub getlibdirs () {
|
||||
my @libdirs = @{$config{libdirs}};
|
||||
my @libdirs;
|
||||
if ($config{libdirs}) {
|
||||
@libdirs = @{$config{libdirs}};
|
||||
}
|
||||
if (length $config{libdir}) {
|
||||
push @libdirs, $config{libdir};
|
||||
}
|
||||
|
|
|
@ -11,3 +11,5 @@ This error is triggered when $config{libdirs} is undefined; it didn't happen in
|
|||
A simple patch would be to alter that line to this:
|
||||
|
||||
my @libdirs = $config{libdirs} ? @{$config{libdirs}} : ();
|
||||
|
||||
> [[Fixed|done]], sorry about that --[[smcv]]
|
||||
|
|
Loading…
Reference in New Issue