In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/b488d167b095ca65d77037883935ed13df7ee79f?hp=02d357f9024fad2d3c4a537ef2bf8bd962b0d798>
- Log ----------------------------------------------------------------- commit b488d167b095ca65d77037883935ed13df7ee79f Author: Tony Cook <[email protected]> Date: Tue Jan 20 15:07:14 2015 +1100 avoid a build issue with non-threaded Win32 builds ac0e53cd rearranged the build of the SDBM_File extension, and applied the options, -DPERL_STATIC_SYMS, defined for the sdbm library code to SDBM_File.$(O), which removed the __declspec(dllimport) specification from perl's globals on non-threaded builds, breaking the code generated for those variables. The -DPERL_STATIC_SYMS was added in 9c293c15 as a replacement for a kludge in 8803afc2 to fix SDBM built with BCC on Win32. The failure in BCC was introduced in 17f28c40 which added the EXTCONST to better support some VMS specific constructs (which appear to have been removed since.) A later patch may clean that up, but since the next dev release is coming soon, I'll start with a minimal fix. ----------------------------------------------------------------------- Summary of changes: ext/SDBM_File/Makefile.PL | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/SDBM_File/Makefile.PL b/ext/SDBM_File/Makefile.PL index 02f28c4..550cf32 100644 --- a/ext/SDBM_File/Makefile.PL +++ b/ext/SDBM_File/Makefile.PL @@ -2,8 +2,6 @@ use strict; use warnings; use ExtUtils::MakeMaker; my $define = '-DSDBM -DDUFF'; -# no -DMSDOS because MSDOS and WIN32 treated same in code -$define .= ' -DWIN32 -DPERL_STATIC_SYMS' if $^O eq 'MSWin32'; WriteMakefile( NAME => 'SDBM_File', -- Perl5 Master Repository
