Supply --enable-auto-image-base when linking a DLL

[SVN r17784]
This commit is contained in:
Raoul Gough 2003-03-08 09:53:45 +00:00
parent 747f8ac885
commit 4910377788
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ rule Link-action
# This will appear before the import library name when building a DLL, but
# will be "multiplied away" otherwise. The --exclude-symbols directive
# proved to be neccessary with some versions of Cygwin.
IMPLIB_COMMAND on $(<) = "-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__ -Wl,--out-implib," ;
IMPLIB_COMMAND on $(<) = "-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__ -Wl,--enable-auto-image-base -Wl,--out-implib," ;
mingw-Link-action $(<) : $(>) ;
# Workaround GCC's lack of command-files and NT's line-length limitation.
if $(NT) {

View File

@ -40,7 +40,7 @@ rule Link-action
# This will appear before the import library name when building a DLL, but
# will be "multiplied away" otherwise. The --exclude-symbols directive
# proved to be neccessary with some versions of Cygwin.
IMPLIB_COMMAND on $(<) = "-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__ -Wl,--out-implib," ;
IMPLIB_COMMAND on $(<) = "-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__ -Wl,--enable-auto-image-base -Wl,--out-implib," ;
mingw-Link-action $(<) : $(>) ;
# Workaround GCC's lack of command-files and NT's line-length limitation.
if $(NT) {