1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

17055: shared object linkage on the Hurd.

This commit is contained in:
Clint Adams 2002-04-29 17:56:01 +00:00
parent daa674de33
commit a662c355e9
2 changed files with 6 additions and 2 deletions

@ -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:

@ -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}"