1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

made MSVC happier

This commit is contained in:
Kenichi Ishigaki 2011-10-18 16:02:39 +00:00
parent e01e9e3fea
commit 2c33a2e1bc

View file

@ -250,7 +250,8 @@ my @CC_OPTIONS = (
);
# RT #70135: See if ld supports Bsymbolic;
for my $path (File::Spec->path) {
unless ($^O eq 'MSWin32' && $Config{ld} =~ /link/) {
for my $path (File::Spec->path) {
if (MM->maybe_command("$path/ld")) {
my $output = `$path/ld --help`;
if ($output =~ /Bsymbolic/) {
@ -261,6 +262,7 @@ for my $path (File::Spec->path) {
}
last;
}
}
}
#####################################################################