Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: loadable modules on Haiku
- X-seq: zsh-workers 53086
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: PATCH: loadable modules on Haiku
- Date: Sat, 14 Sep 2024 01:57:41 +0200
- Archived-at: <https://zsh.org/workers/53086>
- List-id: <zsh-workers.zsh.org>
The lack of loadable modules in a Haiku build is due to using -nostart
instead of -shared. I guess their compiler used to be special but that
was unsustainable. The modules are there for their build of zsh. With
this, zpty also works so more of the test cases.
Oliver
diff --git a/configure.ac b/configure.ac
index 74f2b0c1a..25ec4e725 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2637,13 +2637,13 @@ int main(int argc, char *argv[])
fi
case "$host_os" in
osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;;
- *freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ *freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*|haiku*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;;
- beos*|haiku*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;;
+ beos*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;;
openbsd*)
if test x$zsh_cv_sys_elf = xyes; then
DLLDFLAGS="${DLLDFLAGS=-shared -fPIC}"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author