[vlc-devel] [PATCH 06/14] contrib: libxml2: do not trust pkg-config on OSX
Vittorio Giovara
vittorio.giovara at gmail.com
Mon Jun 30 21:04:26 CEST 2014
---
contrib/src/libxml2/rules.mak | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/src/libxml2/rules.mak b/contrib/src/libxml2/rules.mak
index 803c327..caa02a9 100644
--- a/contrib/src/libxml2/rules.mak
+++ b/contrib/src/libxml2/rules.mak
@@ -4,9 +4,12 @@ LIBXML2_VERSION := 2.9.1
LIBXML2_URL := http://xmlsoft.org/sources/libxml2-$(LIBXML2_VERSION).tar.gz
PKGS += libxml2
+#on OSX headers are not installed, so we have to download our version
+ifndef HAVE_MACOSX
ifeq ($(call need_pkg,"libxml-2.0"),)
PKGS_FOUND += libxml2
endif
+endif
$(TARBALLS)/libxml2-$(LIBXML2_VERSION).tar.gz:
$(call download,$(LIBXML2_URL))
--
1.8.5.2 (Apple Git-48)
More information about the vlc-devel
mailing list