Skip to content
Snippets Groups Projects
Commit 83f249cf authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

With an unknown CA path, we undef the variable. To build properly without

SSL/CA.
parent 2c2baa93
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,11 @@ $(srcdir)/getdate.c: getdate.y
$(srcdir)/ca-bundle.h: Makefile.in Makefile
cd $(srcdir) && \
echo "/* The file is generated automaticly */" > $@
if CABUNDLE
echo '#define CURL_CA_BUNDLE @CURL_CA_BUNDLE@' >> $@
else
echo '#undef CURL_CA_BUNDLE /* unknown */' >> $@
endif
install-data-hook:
@if test -n "@CURL_CA_BUNDLE@"; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment