mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:53:39 +03:00
lib: never define CURL_CA_BUNDLE with a getenv
- it breaks the build (since6de756c9b1) - it's not documented and not consistent across platforms - the curl tool does that getenv magic Bug:6de756c (r38127030)Reported-by: Gisle Vanem Closes #5187
This commit is contained in:
parent
f50bc76c99
commit
66828f4fd3
2 changed files with 0 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue