[vlc-devel] [PATCH] contrib: qt: use python3

Marvin Scholz epirat07 at gmail.com
Mon Jan 6 12:49:51 CET 2020


LGTM

On 6 Jan 2020, at 12:36, Steve Lhomme wrote:

> Instead of the generic python call.
> In Ubuntu 18 LTS for example python3 doesn't install the python 
> script.
>
> Similar to 3b17f4734c1c3e005f071d0dee879c735919cba6 in bootstrap.
> ---
>  contrib/src/qt/AddStaticLink.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/src/qt/AddStaticLink.sh 
> b/contrib/src/qt/AddStaticLink.sh
> index 2ba65707cd3..99a2b94809c 100755
> --- a/contrib/src/qt/AddStaticLink.sh
> +++ b/contrib/src/qt/AddStaticLink.sh
> @@ -6,7 +6,7 @@
>  #
>  # This could also be done in configure.ac to detect what plugins are 
> available and where to add them
>
> -PREFIX=$(python -c "import os; print(os.path.realpath('$1'))")
> +PREFIX=$(python3 -c "import os; print(os.path.realpath('$1'))")
>  PLUGIN_PATH="$3"
>  PLUGIN_NAME="$4"
>
> -- 
> 2.17.1
>
> _______________________________________________
> 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