mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
lib: never define CURL_CA_BUNDLE with a getenv
- it breaks the build (since 6de756c9b1
)
- it's not documented and not consistent across platforms
- the curl tool does that getenv magic
Bug: https://github.com/curl/curl/commit/6de756c#r38127030
Reported-by: Gisle Vanem
Closes #5187
This commit is contained in:
parent
f50bc76c99
commit
66828f4fd3
@ -669,8 +669,6 @@ endif
|
|||||||
@echo $(DL)#endif$(DL) >> $@
|
@echo $(DL)#endif$(DL) >> $@
|
||||||
ifdef CABUNDLE
|
ifdef CABUNDLE
|
||||||
@echo $(DL)#define CURL_CA_BUNDLE "$(CABUNDLE)"$(DL) >> $@
|
@echo $(DL)#define CURL_CA_BUNDLE "$(CABUNDLE)"$(DL) >> $@
|
||||||
else
|
|
||||||
@echo $(DL)#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")$(DL) >> $@
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(EXPORTF): $(CURL_INC)/curl/curl.h $(CURL_INC)/curl/easy.h $(CURL_INC)/curl/multi.h $(CURL_INC)/curl/mprintf.h
|
$(EXPORTF): $(CURL_INC)/curl/curl.h $(CURL_INC)/curl/easy.h $(CURL_INC)/curl/multi.h $(CURL_INC)/curl/mprintf.h
|
||||||
|
@ -151,8 +151,6 @@
|
|||||||
#define ssize_t int
|
#define ssize_t int
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
|
|
||||||
|
|
||||||
/* Target HAVE_x section */
|
/* Target HAVE_x section */
|
||||||
|
|
||||||
#if defined(DJGPP)
|
#if defined(DJGPP)
|
||||||
|
Loading…
Reference in New Issue
Block a user