From 9208909612476284c69503419b42c24368296fcc Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 14 Aug 2026 11:08:12 -0500 Subject: [PATCH] Enable shared lib through configure on Windows This helps to enable Windows build targets to use the configure script, setting the proper extension for the shared libraries and setting the library name to match its name on other systems. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 4e6c8d85b8..7c0a787ea1 100755 --- a/configure +++ b/configure @@ -305,6 +305,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then echo "If this doesn't work for you, try win32/Makefile.gcc." | tee -a configure.log LDSHARED=${LDSHARED-"$cc -shared"} LDSHAREDLIBC="" + shared_ext='.dll' + SHAREDLIB='libz.dll' EXE='.exe' ;; QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4 # (alain.bonnefoy@icbt.com)