From f1e688724e5dc035469382670df6eee6407cf048 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sun, 8 Mar 2020 12:29:32 +0700 Subject: [PATCH] #1585 Fixed build without HTTP support. --- CHANGELOG.md | 1 + src/base/base.cmake | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6e21b0e..949e60c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # v5.9.0 - [#1578](https://github.com/xmrig/xmrig/pull/1578) Added new RandomKEVA algorithm for upcoming Kevacoin fork, as `"algo": "rx/keva"` or `"coin": "keva"`. - [#1584](https://github.com/xmrig/xmrig/pull/1584) Fixed invalid AstroBWT hashes after algorithm switching. +- [#1585](https://github.com/xmrig/xmrig/issues/1585) Fixed build without HTTP support. - Added command line option `--astrobwt-max-size`. # v5.8.2 diff --git a/src/base/base.cmake b/src/base/base.cmake index b5762265..871b045d 100644 --- a/src/base/base.cmake +++ b/src/base/base.cmake @@ -34,7 +34,6 @@ set(HEADERS_BASE src/base/kernel/Signals.h src/base/net/dns/Dns.h src/base/net/dns/DnsRecord.h - src/base/net/http/Fetch.h src/base/net/http/Http.h src/base/net/http/HttpListener.h src/base/net/stratum/BaseClient.h @@ -81,10 +80,7 @@ set(SOURCES_BASE src/base/kernel/Signals.cpp src/base/net/dns/Dns.cpp src/base/net/dns/DnsRecord.cpp - src/base/net/http/Fetch.cpp src/base/net/http/Http.cpp - src/base/net/http/HttpData.cpp - src/base/net/http/HttpListener.cpp src/base/net/stratum/BaseClient.cpp src/base/net/stratum/Client.cpp src/base/net/stratum/Job.cpp @@ -148,6 +144,7 @@ if (WITH_HTTP) src/base/kernel/interfaces/IHttpListener.h src/base/kernel/interfaces/IJsonReader.h src/base/kernel/interfaces/ITcpServerListener.h + src/base/net/http/Fetch.h src/base/net/http/HttpApiResponse.h src/base/net/http/HttpClient.h src/base/net/http/HttpContext.h @@ -165,9 +162,12 @@ if (WITH_HTTP) src/base/api/Httpd.cpp src/base/api/requests/ApiRequest.cpp src/base/api/requests/HttpApiRequest.cpp + src/base/net/http/Fetch.cpp src/base/net/http/HttpApiResponse.cpp src/base/net/http/HttpClient.cpp src/base/net/http/HttpContext.cpp + src/base/net/http/HttpData.cpp + src/base/net/http/HttpListener.cpp src/base/net/http/HttpResponse.cpp src/base/net/http/HttpServer.cpp src/base/net/stratum/DaemonClient.cpp