Fix MinGW shared, PIC and rdynamic flags.

A native MinGW compile was not setting these to the correct
value. This patch makes them match what Cygwin uses. Adding
the -Wl,--enable-auto-image-base should make vvp load
slightly faster since it loads multiple DLL files.
This commit is contained in:
Cary R 2008-12-12 16:38:47 -08:00 committed by Stephen Williams
parent f1e2f373ae
commit 65d5620086
1 changed files with 12 additions and 0 deletions

12
aclocal.m4 vendored
View File

@ -105,6 +105,10 @@ case "${host}" in
shared="-shared -Wl,--enable-auto-image-base"
;;
*-*-mingw*)
shared="-shared -Wl,--enable-auto-image-base"
;;
*-*-hpux*)
shared="-b"
;;
@ -134,6 +138,10 @@ case "${host}" in
PICFLAG=
;;
*-*-mingw*)
PICFLAG=
;;
*-*-hpux*)
PICFLAG=+z
;;
@ -169,6 +177,10 @@ case "${host}" in
rdynamic=""
;;
*-*-mingw*)
rdynamic=""
;;
*-*-hpux*)
rdynamic="-E"
;;