Forgotten Cygwin patch
Jerry D. Hedden [Tue, 22 May 2007 20:58:04 +0000 (16:58 -0400)]
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510705221758p71418517ncb89fac289d74c35@mail.gmail.com>

p4raw-id: //depot/perl@31258

cygwin/perlld.in

index 557d7d1..85dc263 100644 (file)
@@ -64,6 +64,7 @@ if ($args !~ /\-o (\S+)/) {
   $command .=" -Wl,--out-implib=$libname.dll$LIB_EXT" if $LIB_EXT;
   $command .=" -Wl,--export-all-symbols" if $EXPORT_ALL;
   $command .=" -Wl,--enable-auto-import -Wl,--stack,8388608"; # always
+  $command .=" -Wl,--enable-auto-image-base"; # always
 
   # other args are passed through
   shellexec("$command \\\n$args\n");