about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-04-29 17:56:01 +0000
committerClint Adams <clint@users.sourceforge.net>2002-04-29 17:56:01 +0000
commita662c355e97d2fa13da830411331dfabd4c83b47 (patch)
treefa69d07f5d6fb61327c237f150f109d6d7b44721
parentdaa674de33cbbef0d1f4c96e5e73fd4cd350d754 (diff)
downloadzsh-a662c355e97d2fa13da830411331dfabd4c83b47.tar.gz
zsh-a662c355e97d2fa13da830411331dfabd4c83b47.tar.xz
zsh-a662c355e97d2fa13da830411331dfabd4c83b47.zip
17055: shared object linkage on the Hurd.
-rw-r--r--ChangeLog4
-rw-r--r--zshconfig.ac4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index aba055fbc..65efafda0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-29  Clint Adams  <clint@zsh.org>
+
+	* 17055: zshconfig.ac: shared object linkage on the Hurd.
+
 2002-04-28  Clint Adams  <clint@zsh.org>
 
 	* unposted: Completion/Unix/Command/_spamassassin:
diff --git a/zshconfig.ac b/zshconfig.ac
index 902981547..fb99d7c42 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -1660,7 +1660,7 @@ char *argv[];
   fi
   case "$host_os" in
     hpux*)        DLLDFLAGS="${DLLDFLAGS=-b}" ;;
-    freebsd*|linux*|irix*|osf*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+    freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
     sunos*)       DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
     sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
     netbsd*)      DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
@@ -1684,7 +1684,7 @@ char *argv[];
   esac
   case "$host" in
     *-hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
-    *-freebsd[3-9]*|*-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+    *-freebsd[3-9]*|*-linux*|gnu*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
     *openbsd*)
        if test $zsh_cv_sys_elf = yes; then
 	 EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}"