diff options
author | Steve Hay <SteveHay@planit.com> | 2009-05-07 09:26:05 +0100 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2009-05-07 09:26:05 +0100 |
commit | 3ecadf9633330795163fd87481c668fa7b6bcc31 (patch) | |
tree | 3c8b5c797e2f63d707d7f94291b46a20797090a7 /minimod.pl | |
parent | 81ab4c4438c47e4ce03412afce1305a5499a46bd (diff) | |
download | perl-3ecadf9633330795163fd87481c668fa7b6bcc31.tar.gz |
Fix ExtUtils::Miniperl on Win32
Default configuration builds on Win32 require perlmain.c to #include
perlapi.h (e.g. via XSUB.h) to avoid linker errors over PL_do_undump
and PL_use_safe_putenv.
From: Ben Morrow <ben@morrow.me.uk>
Date: Wed, 6 May 2009 22:38:01 +0100
Message-ID: <20090506213801.GA9074@osiris.mauzo.dyndns.org>
Diffstat (limited to 'minimod.pl')
-rw-r--r-- | minimod.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/minimod.pl b/minimod.pl index bd945c25d4..a5bd172204 100644 --- a/minimod.pl +++ b/minimod.pl @@ -37,6 +37,7 @@ open MINI, "miniperlmain.c"; while (<MINI>) { last if /Do not delete this line--writemain depends on it/; print; + /#include "perl.h"/ and print qq/#include "XSUB.h"\n/; } print <<'END'; |