Add '-read_only_relocs warning' to LDDLLFLAGS on Darwin.
diff --git a/configure b/configure
index 508d028..26e961f 100755
--- a/configure
+++ b/configure
@@ -14109,7 +14109,7 @@
if test "$ac_cv_c_dll_macho" = "yes"
then
LIBEXT="dylib"
- LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
+ LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
LDSHARED="\$(CC) -dynamiclib"
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
STRIP="$STRIP -u -r"
diff --git a/configure.ac b/configure.ac
index c0daaff..d9cfbab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1005,7 +1005,7 @@
if test "$ac_cv_c_dll_macho" = "yes"
then
LIBEXT="dylib"
- LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
+ LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
LDSHARED="\$(CC) -dynamiclib"
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
STRIP="$STRIP -u -r"