Supply --enable-auto-image-base when linking a DLL
[SVN r17784]
This commit is contained in:
parent
747f8ac885
commit
4910377788
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user