Skip to content

Commit 23ecf09

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
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 <[email protected]>
1 parent a231a2b commit 23ecf09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,7 @@ ifeq ($(uname_S),MINGW)
670670
DEFAULT_HELP_FORMAT = html
671671
HAVE_PLATFORM_PROCINFO = YesPlease
672672
CSPRNG_METHOD = rtlgenrandom
673+
LAZY_LOAD_LIBCURL = YesDoThatPlease
673674
BASIC_LDFLAGS += -municode -Wl,--tsaware
674675
COMPAT_CFLAGS += -DNOGDI -Icompat -Icompat/win32
675676
COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"

0 commit comments

Comments
 (0)