diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DB_File/DB_File.pm | 2 | ||||
-rw-r--r-- | ext/DB_File/Makefile.PL | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index 58c34eff83..6bf139f14f 100644 --- a/ext/DB_File/DB_File.pm +++ b/ext/DB_File/DB_File.pm @@ -165,7 +165,7 @@ our ($db_version, $use_XSLoader, $splice_end_array, $Error); use Carp; -$VERSION = "1.817" ; +$VERSION = "1.817_01" ; $VERSION = eval $VERSION; # needed for dev releases { diff --git a/ext/DB_File/Makefile.PL b/ext/DB_File/Makefile.PL index 93f3895da2..07007f475e 100644 --- a/ext/DB_File/Makefile.PL +++ b/ext/DB_File/Makefile.PL @@ -10,7 +10,9 @@ my $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ; my $LIB = "-ldb" ; # so is win32 -$LIB = "-llibdb" if $^O eq 'MSWin32' ; +if ( $^O eq 'MSWin32' ) { + $LIB = $Config{cc} =~ /gcc/ ? "-ldb" : "-llibdb"; +} WriteMakefile( NAME => 'DB_File', |