From c3c13846ad1baadc388bcd37334bf17212af9c72 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 3 Oct 2017 19:00:32 +0000 Subject: [PATCH] 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 --- src/ostree/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/main.c b/src/ostree/main.c index e1ccf983..66cfae7f 100644 --- a/src/ostree/main.c +++ b/src/ostree/main.c @@ -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 },