[vlc-commits] contrib: qt: use python3

Steve Lhomme git at videolan.org
Mon Jan 6 13:00:41 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jan  6 12:35:55 2020 +0100| [b8a9ddbe20c8b1051f9a05f7ae1ed90b26d5c7ed] | committer: Steve Lhomme

contrib: qt: use python3

Instead of the generic python call.
In Ubuntu 18 LTS for example python3 doesn't install the python script.

Similar to 3b17f4734c1c3e005f071d0dee879c735919cba6 in bootstrap.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8a9ddbe20c8b1051f9a05f7ae1ed90b26d5c7ed
---

 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 2ba65707cd..99a2b94809 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"
 



More information about the vlc-commits mailing list