mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-28 16:15:02 +01:00
53086: change flags used for building dynamic modules on Haiku OS
This commit is contained in:
parent
701fad5021
commit
5ffaffdea3
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2024-09-14 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 53086: configure.ac: change flags used for building dynamic
|
||||
modules on Haiku OS
|
||||
|
||||
* 53085: configure.ac, Src/init.c: support for BSDs in
|
||||
$ZSH_EXEPATH implementation
|
||||
|
||||
|
|
|
@ -2638,13 +2638,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}"
|
||||
|
|
Loading…
Reference in a new issue