Without this, Configure may fail prior to commit
1cfa4ec74d4933da (which
added the 'ignore_versioned_solibs' logic), because bisect-runner.pl's code
to set libs relies on successfully finding at least one library to pass to
./Configure with -Dlibs=
miniperl and perl should now build back to perl-5.000 on 32 bit Linux.
test_prep may not work, as early versions of DB_File.xs will fail if a
new db.h is found.
clean => 1, # mostly for debugging this
);
-my @paths = qw(/usr/local/lib64 /lib64 /usr/lib64);
+my $linux64 = `uname -sm` eq "Linux x86_64\n" ? '64' : '';
+
+my @paths = map {$_ . $linux64} qw(/usr/local/lib /lib /usr/lib);
my %defines =
(
optimize => '-g',
cc => 'ccache gcc',
ld => 'gcc',
- (`uname -sm` eq "Linux x86_64\n" ? (libpth => \@paths) : ()),
+ ($linux64 ? (libpth => \@paths) : ()),
);
unless(GetOptions(\%options,