[vlc-devel] [PATCH 1/3] contrib: Do not build microdns by default on macOS
Marvin Scholz
epirat07 at gmail.com
Sat Oct 29 14:58:18 CEST 2016
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
---
contrib/src/microdns/rules.mak | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/src/microdns/rules.mak b/contrib/src/microdns/rules.mak
index f3bef5b..2c1801c 100644
--- a/contrib/src/microdns/rules.mak
+++ b/contrib/src/microdns/rules.mak
@@ -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
--
2.8.4 (Apple Git-73)
More information about the vlc-devel
mailing list