about summary refs log tree commit diff
path: root/zshconfig.ac
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 /zshconfig.ac
parentdaa674de33cbbef0d1f4c96e5e73fd4cd350d754 (diff)
downloadzsh-a662c355e97d2fa13da830411331dfabd4c83b47.tar.gz
zsh-a662c355e97d2fa13da830411331dfabd4c83b47.tar.xz
zsh-a662c355e97d2fa13da830411331dfabd4c83b47.zip
17055: shared object linkage on the Hurd.
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac4
1 files changed, 2 insertions, 2 deletions
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}"