summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-04-06 09:25:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-04-06 09:25:17 +0000
commit6fa6a1f865b56b1dee05d780c788686db3bd3c2a (patch)
treea1c5b3279db9601e348222f006b5ac0b9b45d382 /configure.ac
parent4688564c0a891a2e3fa73255cf907dd269a62a2e (diff)
downloadzsh-6fa6a1f865b56b1dee05d780c788686db3bd3c2a.tar.gz
zsh-6fa6a1f865b56b1dee05d780c788686db3bd3c2a.tar.xz
zsh-6fa6a1f865b56b1dee05d780c788686db3bd3c2a.zip
Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f37a97c7f..ba2b99e0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1935,8 +1935,10 @@ if test "x$aixdynamic" = xyes; then
   zsh_cv_shared_environ="${zsh_cv_shared_environ=yes}"
 elif test "$host_os" = cygwin; then
   DL_EXT="${DL_EXT=dll}"
-  DLLD="${DLLD=dllwrap}"
-  DLLDFLAGS="${DLLDFLAGS=--export-all-symbols}"
+##DLLD="${DLLD=dllwrap}"
+  DLLD="${DLLD=$CC}"
+##DLLDFLAGS="${DLLDFLAGS=--export-all-symbols}"
+  DLLDFLAGS=${DLLDFLAGS=-shared -Wl,--export-all-symbols}
   zsh_cv_func_dlsym_needs_underscore=no
   DLLDFLAGS=${DLLDFLAGS=}
   EXTRA_LDFLAGS=${EXTRA_LDFLAGS=}