app/main: use HAVE_LIBCURL_OR_LIBSOUP for pull CLI

We want `pull` to be included as long as we have at least either
`libcurl` or `libsoup` to back it. Of course, this is a moot point for
now since `libsoup` is currently a build requirement.

Closes: #1244
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2017-10-03 19:00:32 +00:00 committed by Atomic Bot
parent 86e072bdbe
commit c3c13846ad
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static OstreeCommand commands[] = {
{ "ls", ostree_builtin_ls },
{ "prune", ostree_builtin_prune },
{ "pull-local", ostree_builtin_pull_local },
#ifdef HAVE_LIBSOUP
#ifdef HAVE_LIBCURL_OR_LIBSOUP
{ "pull", ostree_builtin_pull },
#endif
{ "refs", ostree_builtin_refs },