summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 228a03ec2..a2b9eadae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-09-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+ * 53134: configure.ac: use -undefined dynamic_lookup on recent macOS
+
2024-09-21 Bart Schaefer <schaefer@toltec-ubuntu>
* 53103: Test/A08time.ztst: fix spurious test failure on Solaris
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