bin: Fix cookie builtin build with curl but no soup
Prep for supporting `--with-curl --without-soup`. Closes: #1397 Approved by: cgwalters
This commit is contained in:
1 parent
3b9304b5d7
commit
c8d9da8d96
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ static OstreeCommand remote_subcommands[] = {
|
|||||||
{ "gpg-import", OSTREE_BUILTIN_FLAG_NONE,
|
{ "gpg-import", OSTREE_BUILTIN_FLAG_NONE,
|
||||||
ot_remote_builtin_gpg_import,
|
ot_remote_builtin_gpg_import,
|
||||||
"Import GPG keys" },
|
"Import GPG keys" },
|
||||||
#ifdef HAVE_LIBSOUP
|
#ifdef HAVE_LIBCURL_OR_LIBSOUP
|
||||||
{ "add-cookie", OSTREE_BUILTIN_FLAG_NONE,
|
{ "add-cookie", OSTREE_BUILTIN_FLAG_NONE,
|
||||||
ot_remote_builtin_add_cookie,
|
ot_remote_builtin_add_cookie,
|
||||||
"Add a cookie to remote" },
|
"Add a cookie to remote" },
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ BUILTINPROTO(add);
|
|||||||
BUILTINPROTO(delete);
|
BUILTINPROTO(delete);
|
||||||
BUILTINPROTO(gpg_import);
|
BUILTINPROTO(gpg_import);
|
||||||
BUILTINPROTO(list);
|
BUILTINPROTO(list);
|
||||||
#ifdef HAVE_LIBSOUP
|
#ifdef HAVE_LIBCURL_OR_LIBSOUP
|
||||||
BUILTINPROTO(add_cookie);
|
BUILTINPROTO(add_cookie);
|
||||||
BUILTINPROTO(list_cookies);
|
BUILTINPROTO(list_cookies);
|
||||||
BUILTINPROTO(delete_cookie);
|
BUILTINPROTO(delete_cookie);
|
||||||
|
|||||||
Reference in new issue
Block a user