[vlc-devel] [PATCH 06/14] contrib: libxml2: do not trust pkg-config on OSX
Rémi Denis-Courmont
remi at remlab.net
Mon Jun 30 21:17:34 CEST 2014
Le lundi 30 juin 2014, 15:04:26 Vittorio Giovara a écrit :
> ---
> 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))
WTH is this? If you fucked up your SDK installation, fix it.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list