Hi, 2013/12/11 Wed 23:25:25 UTC+9 LCD 47 wrote: > On 11 December 2013, Bram Moolenaar <[email protected]> wrote: > > > > Patch 7.4.117 > > Problem: Can't build with Cygwin/MingW and Perl 5.18. > > Solution: Add a linker argument for the Perl library. (Cesar Romani) > > Adjust CFLAGS and LIB. (Cesar Romani) > > Move including inline.h further down. (Ken Takata) > > Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_perl.xs > [...] > > Sadly, this no longer compiles on Linux:
(snip) > Perl version: > > This is perl 5, version 18, subversion 1 (v5.18.1) built for > i486-linux-thread-multi I forgot to care about static link version. I hope the attached patch fixes the error. Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch # Parent b16ee1950b8e8ffccd8e1f7a87f5fbba6965d599 diff --git a/src/if_perl.xs b/src/if_perl.xs --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -27,7 +27,9 @@ /* Work around for perl-5.18. * Don't include "perl\lib\CORE\inline.h" for now, * include it after Perl_sv_free2 is defined. */ -#define PERL_NO_INLINE_FUNCTIONS +#ifdef DYNAMIC_PERL +# define PERL_NO_INLINE_FUNCTIONS +#endif /* * Prevent including winsock.h. perl.h tries to detect whether winsock.h is
