From: Viktor Szakats Date: Mon, 5 Dec 2022 14:31:32 +0000 (+0000) Subject: Makefile.mk: improve a GNU Make hack [ci skip] X-Git-Tag: curl-7_87_0~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b584fffce0e1055937ec820e3e5d0954277efe7;p=thirdparty%2Fcurl.git Makefile.mk: improve a GNU Make hack [ci skip] Replace the hack of using `$() ` to represent a single space. The new method silences the `--warn-undefined-variables` debug warning and it's also a better-known form of solving this problem. Reviewed-by: Jay Satiro Closes #10031 --- diff --git a/lib/Makefile.mk b/lib/Makefile.mk index efd4ba4202..56917e0201 100644 --- a/lib/Makefile.mk +++ b/lib/Makefile.mk @@ -324,7 +324,7 @@ ifdef WIN32 _LIBS += -lws2_32 -lcrypt32 -lbcrypt endif -ifneq ($(findstring 11,$(subst $() ,,$(SSLLIBS))),) +ifneq ($(findstring 11,$(subst $(subst ,, ),,$(SSLLIBS))),) CPPFLAGS += -DCURL_WITH_MULTI_SSL endif