mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-28 18:55:47 -05:00
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>
This commit is contained in:
committed by
Git for Windows Build Agent
parent
29492b89fd
commit
117ff93274
@@ -731,6 +731,7 @@ ifeq ($(uname_S),MINGW)
|
||||
HAVE_PLATFORM_PROCINFO = YesPlease
|
||||
CSPRNG_METHOD = rtlgenrandom
|
||||
BASIC_LDFLAGS += -municode -Wl,--tsaware
|
||||
LAZYLOAD_LIBCURL = YesDoThatPlease
|
||||
COMPAT_CFLAGS += -DNOGDI -Ilib/compat -Ilib/compat/win32
|
||||
COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
|
||||
COMPAT_OBJS += lib/compat/mingw.o lib/compat/winansi.o \
|
||||
|
||||
Reference in New Issue
Block a user