Commit 725b6ee for zlib
commit 725b6eee7c217c00e7b0f3dab225b0bf78b9c908
Author: Mark Adler <git@madler.net>
Date: Mon Feb 16 17:13:29 2026 -0800
Fix --insecure option for shared libraries.
diff --git a/configure b/configure
index 3a8adf0..e7b2b31 100755
--- a/configure
+++ b/configure
@@ -279,6 +279,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
fi
if test $insecure -eq 1; then
CFLAGS="${CFLAGS} -DZLIB_INSECURE"
+ SFLAGS="${SFLAGS} -DZLIB_INSECURE"
fi
if test $debug -eq 1; then
CFLAGS="${CFLAGS} -DZLIB_DEBUG"