[vlc-devel] [PATCH 08/14] contrib: bluray: add missing java include paths
Jean-Baptiste Kempf
jb at videolan.org
Tue Jul 1 00:00:14 CEST 2014
On 30 Jun, Vittorio Giovara wrote :
> ---
> contrib/src/bluray/rules.mak | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/contrib/src/bluray/rules.mak b/contrib/src/bluray/rules.mak
> index 157a1c0..76173fe 100644
> --- a/contrib/src/bluray/rules.mak
> +++ b/contrib/src/bluray/rules.mak
> @@ -17,6 +17,10 @@ BLURAY_CONF = --disable-examples \
> --enable-libxml2 \
> --enable-bdjava
>
> +ifdef HAVE_MACOSX
> +JAVA_HOME_EXTRA=CFLAGS='-I$(JAVA_HOME)/include/darwin'
> +endif
> +
> $(TARBALLS)/libbluray-$(BLURAY_VERSION).tar.bz2:
> $(call download,$(BLURAY_URL))
>
> @@ -29,5 +33,5 @@ bluray: libbluray-$(BLURAY_VERSION).tar.bz2 .sum-bluray
> .bluray: bluray
> cd $< && ./bootstrap
> cd $< && $(HOSTVARS) ./configure $(BLURAY_CONF) $(HOSTCONF)
> - cd $< && $(MAKE) install
> + cd $< && $(MAKE) $(JAVA_HOME_EXTRA) && make install
> touch $@
No, this is wrong. Please see with upstream.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list