mirror of
https://github.com/systemd/systemd.git
synced 2024-12-28 11:21:59 +03:00
Merge pull request #17685 from yuwata/curl-no-oldies
meson: set CURL_NO_OLDIES in developer mode
This commit is contained in:
commit
5acd143259
@ -1074,6 +1074,7 @@ else
|
||||
libcurl = []
|
||||
endif
|
||||
conf.set10('HAVE_LIBCURL', have)
|
||||
conf.set10('CURL_NO_OLDIES', get_option('mode') == 'developer')
|
||||
|
||||
want_libidn = get_option('libidn')
|
||||
want_libidn2 = get_option('libidn2')
|
||||
|
@ -178,7 +178,7 @@ CurlGlue *curl_glue_unref(CurlGlue *g) {
|
||||
|
||||
int curl_glue_new(CurlGlue **glue, sd_event *event) {
|
||||
_cleanup_(curl_glue_unrefp) CurlGlue *g = NULL;
|
||||
_cleanup_(curl_multi_cleanupp) CURL *c = NULL;
|
||||
_cleanup_(curl_multi_cleanupp) CURLM *c = NULL;
|
||||
_cleanup_(sd_event_unrefp) sd_event *e = NULL;
|
||||
int r;
|
||||
|
||||
|
@ -35,5 +35,5 @@ int curl_header_strdup(const void *contents, size_t sz, const char *field, char
|
||||
int curl_parse_http_time(const char *t, usec_t *ret);
|
||||
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(CURL*, curl_easy_cleanup);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(CURL*, curl_multi_cleanup);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(CURLM*, curl_multi_cleanup);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(struct curl_slist*, curl_slist_free_all);
|
||||
|
Loading…
Reference in New Issue
Block a user