contrib: Do not build microdns by default on macOS
authorMarvin Scholz <epirat07@gmail.com>
Sat, 29 Oct 2016 12:58:18 +0000 (14:58 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Oct 2016 13:18:55 +0000 (16:18 +0300)
libmicrodns does not work on macOS as bonjour is
used there, so it makes not much sense to build it
on macOS.

See https://github.com/videolabs/libmicrodns/issues/9

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
contrib/src/microdns/rules.mak

index f3bef5b..2c1801c 100644 (file)
@@ -3,9 +3,11 @@
 LIBMICRODNS_VERSION := 0.0.3
 LIBMICRODNS_URL := https://github.com/videolabs/libmicrodns/releases/download/$(LIBMICRODNS_VERSION)/microdns-$(LIBMICRODNS_VERSION).tar.gz
 
+ifndef HAVE_MACOSX
 ifdef BUILD_NETWORK
 PKGS += microdns
 endif
+endif
 ifeq ($(call need_pkg,"microdns >= 0.0.1"),)
 PKGS_FOUND += microdns
 endif