Mercurial > hg > xemacs-beta
diff aclocal.m4 @ 4990:8f0cf4fd3d2c
Automatic merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 06 Feb 2010 04:01:46 -0600 |
parents | 8b63e21b0436 |
children | e6508b64ee08 ff554e6a2d29 |
line wrap: on
line diff
--- a/aclocal.m4 Sat Feb 06 03:59:18 2010 -0600 +++ b/aclocal.m4 Sat Feb 06 04:01:46 2010 -0600 @@ -513,10 +513,17 @@ dnl usually need to be prefix with ${wl} or some other such thing. dnl -if test "$xe_gnu_ld" = yes; then - if test "$ld_shlibs" = yes; then +if test "$xe_gnu_ld" = yes -a "$ld_shlibs" = yes; then + case "$xehost_os" in + *cygwin* | *mingw* ) + # -export-all-symbols is the PE equivalent of ELF-specific -export-dynamic + ld_dynamic_link_flags="${wl}-export-all-symbols" + ;; + + *) ld_dynamic_link_flags="${wl}-export-dynamic" - fi + ;; + esac fi if test -z "$ld_dynamic_link_flags"; then