mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
14772: David Lebel <lebel@lebel.org>: OpenBSD dynamic linking
This commit is contained in:
parent
368b4628ba
commit
7b216856ab
2 changed files with 14 additions and 1 deletions
|
@ -9,6 +9,9 @@
|
|||
|
||||
2001-06-06 Andrej Borsenkow <bor@zsh.org>
|
||||
|
||||
* 14772: David Lebel <lebel@lebel.org>: zshconfig.ac: patch
|
||||
for dynamic linking on OpenBSD
|
||||
|
||||
* unposted: Etc/zsh-development-guide: we now support autoconf-2.50
|
||||
|
||||
* 14766: Src/prompt.c: unify %l substitution (tty0, pts/3 etc)
|
||||
|
|
12
zshconfig.ac
12
zshconfig.ac
|
@ -1594,6 +1594,16 @@ char *argv[];
|
|||
;;
|
||||
esac
|
||||
else
|
||||
case "$host" in
|
||||
*openbsd*)
|
||||
DLLD="${DLLD=$CC}"
|
||||
DLLDARG="${LDARG}"
|
||||
;;
|
||||
* )
|
||||
DLLD="${DLLD=ld}"
|
||||
DLLDARG=""
|
||||
;;
|
||||
esac
|
||||
DLLD="${DLLD=ld}"
|
||||
DLLDARG=""
|
||||
fi
|
||||
|
@ -1614,7 +1624,7 @@ char *argv[];
|
|||
netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
|
||||
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
|
||||
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
|
||||
openbsd*) DLLDFLAGS="${DLLDFLAGS=-Bshareable}" ;;
|
||||
openbsd*) DLLDFLAGS="${DLLDFLAGS=-shared -fPIC}" ;;
|
||||
esac
|
||||
case "$host" in
|
||||
*-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
|
||||
|
|
Loading…
Reference in a new issue