Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: OpenBSD dl configure test ld flags
- X-seq: zsh-workers 10768
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Zefram <zefram@xxxxxxxx>
- Subject: PATCH: OpenBSD dl configure test ld flags
- Date: Sat, 15 Apr 2000 10:06:32 -0400
- Cc: Anthony Schneider <aschneid@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <E12gS62-0002my-00@xxxxxxxxxxxxxxxxxx>; from zefram@xxxxxxxx on Sat, Apr 15, 2000 at 01:54:46PM +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000414135110.A27516@xxxxxxxxxxxx> <E12gS62-0002my-00@xxxxxxxxxxxxxxxxxx>
> This is interesting. It indicates that, despite finding dlopen() et al,
> the configure process failed to actually perform a dynamic loading and
> symbol lookup. Can you diagnise it further?
I get the same thing under OpenBSD 2.2. This seems to help:
Index: configure.in
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.in,v
retrieving revision 1.5
diff -u -r1.5 configure.in
--- configure.in 2000/04/13 23:11:54 1.5
+++ configure.in 2000/04/15 14:01:46
@@ -1485,6 +1485,7 @@
netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
+ openbsd*) DLLDFLAGS="${DLLDFLAGS=-Bshareable}" ;;
esac
case "$host" in
*-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author