This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Forgotten Cygwin patch
[perl5.git] / 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");