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

Steve Lhomme robux4 at ycbcr.xyz
Mon Jan 6 12:36:29 CET 2020


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



More information about the vlc-devel mailing list