Skip to content

Commit 62ca977

Browse files
committed
mingw: do load libcurl dynamically by default
This will help with Git for Windows' maintenance going forward: It allows Git for Windows to switch its primary libcurl to a variant without the OpenSSL backend, while still loading an alternate when setting `http.sslBackend = openssl`. This is necessary to avoid maintenance headaches with upgrading OpenSSL: its major version name is encoded in the shared library's file name and hence major version updates (temporarily) break libraries that are linked against the OpenSSL library. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 0a6fa31 commit 62ca977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

+1
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ ifeq ($(uname_S),MINGW)
692692
HAVE_PLATFORM_PROCINFO = YesPlease
693693
CSPRNG_METHOD = rtlgenrandom
694694
BASIC_LDFLAGS += -municode -Wl,--tsaware
695+
LAZYLOAD_LIBCURL = YesDoThatPlease
695696
COMPAT_CFLAGS += -DNOGDI -Icompat -Icompat/win32
696697
COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
697698
COMPAT_OBJS += compat/mingw.o compat/winansi.o \

0 commit comments

Comments
 (0)