summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cygwin/perlld.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cygwin/perlld.in b/cygwin/perlld.in
index 557d7d1eb4..85dc2632d8 100644
--- a/cygwin/perlld.in
+++ b/cygwin/perlld.in
@@ -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");