[vlc-devel] [PATCH] contrib: disable rust when compiling on macOS ARM-64

Alexandre Janniaux ajanni at videolabs.io
Tue Feb 16 12:52:06 UTC 2021


Hi,

Ok for now.

Regards,
--
Alexandre Janniaux
Videolabs

On Tue, Feb 16, 2021 at 11:23:53AM +0100, Felix Paul Kühne wrote:
> From: Felix Paul Kühne <felix at feepk.net>
>
> ---
>  contrib/src/main-rust.mak | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/contrib/src/main-rust.mak b/contrib/src/main-rust.mak
> index af877f3954..8667fb5b32 100644
> --- a/contrib/src/main-rust.mak
> +++ b/contrib/src/main-rust.mak
> @@ -24,9 +24,11 @@ endif
>  endif
>  endif
>  else ifdef HAVE_MACOSX
> -ifneq ($(ARCH),aarch64) # macOS ARM-64 is unsupported
> +ifneq ($(ARCH),aarch64) # running on macOS ARM-64 is unsupported
> +ifneq ($(BUILD),aarch64-apple-darwin) # building on macOS ARM-64 is unsupported
>  RUST_TARGET = $(ARCH)-apple-darwin
>  endif
> +endif
>  else ifdef HAVE_SOLARIS
>  RUST_TARGET = x86_64-sun-solaris
>  else ifdef HAVE_LINUX
> --
> 2.24.3 (Apple Git-128)
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list