mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Tux reported 2>&1 prevented his CPAN client from installing DBD::SQLite; he said 2>/devnull was fine
This commit is contained in:
parent
acaf403a5b
commit
2f71f046e4
1 changed files with 2 additions and 1 deletions
|
@ -253,7 +253,8 @@ my @CC_OPTIONS = (
|
|||
unless ($^O eq 'MSWin32' && $Config{ld} =~ /link/) {
|
||||
for my $path (File::Spec->path) {
|
||||
if (MM->maybe_command("$path/ld")) {
|
||||
my $output = `$path/ld --help 2>&1`;
|
||||
my $devnull = File::Spec->devnull;
|
||||
my $output = `$path/ld --help 2>$devnull`;
|
||||
if ($output =~ /Bsymbolic/) {
|
||||
push @CC_OPTIONS,
|
||||
CCFLAGS => $Config{ccflags} . ' -Wl,-Bsymbolic',
|
||||
|
|
Loading…
Add table
Reference in a new issue