summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2024-10-02 11:57:12 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2024-10-02 11:57:33 +0900
commit383526da422cf1c962d9be7e9e6ac166e226bf2b (patch)
treec99f77fc15a04feb2ef5d26642a6afa660adc89a /configure.ac
parentec57ac0940c3f194c2c33e2860b2c2399d368837 (diff)
downloadzsh-383526da422cf1c962d9be7e9e6ac166e226bf2b.tar.gz
zsh-383526da422cf1c962d9be7e9e6ac166e226bf2b.zip
53134: use -undefined dynamic_lookup on recent macOS
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7073f4e2c..bca99b7f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2637,7 +2637,9 @@ int main(int argc, char *argv[])
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}" ;;
+ darwin[[0-9]].*|darwin1?.*|darwin2[01].*)
+ DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;;
+ darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined dynamic_lookup}" ;;
beos*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;;
openbsd*)
if test x$zsh_cv_sys_elf = xyes; then