summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPino Toscano <ptoscano@redhat.com>2017-10-17 17:02:53 +0200
committerPino Toscano <ptoscano@redhat.com>2017-10-19 12:56:20 +0200
commitcc5be3aee94228cadef997667fe65a4fa6b760c4 (patch)
treeba9ee48de1dd748e2874f0bd9a2c36b5bd2d00a5 /README
parent206a544582a37f4b016841bc6fa7962b87cece8a (diff)
downloadlibosinfo-cc5be3aee94228cadef997667fe65a4fa6b760c4.tar.gz
build: make curl optional, and only for tests
Look for curl only when the tests are enabled, and as optional build dependency. If curl is missing, then the two network tests are not built. Also, limit the use of curl CFLAGS/LIBS only for the tests that really need it. As side result, it is possible to drop the curl BuildRequires from the mingw spec, as it builds with --enable-tests=no. Signed-off-by: Pino Toscano <ptoscano@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
diff --git a/README b/README
index 1d1f47a..1a0fa2e 100644
--- a/README
+++ b/README
@@ -21,12 +21,12 @@ Dependencies
- Required:
- gobject-2.0
- gio-2.0
- - libcurl
- libxml-2.0
- libxslt-1.0
- Optional:
- gobject-introspection
+ - libcurl (for tests only)
- Vala (build-time only)
Patch submissions