1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

build: use "python" instead of "python3" as interpreter name

This works regardless whether "python" starts a Python 2 or Python 3
interpreter.
This commit is contained in:
wm4 2012-09-29 16:22:01 +02:00
parent 0ee09dcdbe
commit 6fb0e6bf1c
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Convert the contents of a file into a C string constant.
# Note that the compiler will implicitly add an extra 0 byte at the end

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""
Generate C definitions for parsing Matroska files.
Can also be used to directly parse Matroska files and display their contents.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Generate vdpau_template.c

4
configure vendored
View File

@ -1019,8 +1019,8 @@ echocheck "working compiler"
cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ."
echo "yes"
echocheck "python3"
command_check python3 -c '' || die "Python 3 is not functioning correctly. Check your installation and PATH."
echocheck "python"
command_check python -c '' || die "Python is not functioning correctly. Check your installation and PATH."
echo yes
if test -z "$_target" && x86 ; then