From c520eef51553e6171e824086b09b8004dd98a62e Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Fri, 21 Nov 2014 16:56:10 -0500
Subject: [PATCH] contrib: dht: only build on Linux for now

Needs to be ported to other platforms.

Refs #60968

Change-Id: I3078f9ad72b5df01d15f4503fe54e40f3a02da96
---
 daemon/contrib/src/dht/rules.mak | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/daemon/contrib/src/dht/rules.mak b/daemon/contrib/src/dht/rules.mak
index 7767796bdf..f533897b0a 100644
--- a/daemon/contrib/src/dht/rules.mak
+++ b/daemon/contrib/src/dht/rules.mak
@@ -2,7 +2,13 @@
 DHT_VERSION := adaf1e77d34d1edbf50f27c96a70839ff7f2da25
 DHT_URL := https://github.com/aberaud/dht/archive/$(DHT_VERSION).tar.gz
 
+# Only build on Linux for now, needs to be ported to Android et al
+ifdef HAVE_LINUX
+ifndef HAVE_ANDROID
 PKGS += dht
+endif
+endif
+
 ifeq ($(call need_pkg,'opendht'),)
 PKGS_FOUND += dht
 endif
-- 
GitLab