ci: explicitly call waf with python3

Python 2 may not be present in the CI images in the future,
but waf’s shebang line still uses its executable name.
Explicitly call the right major version of the interpreter.
This commit is contained in:
Martin Herkt 2018-09-11 01:26:28 +02:00
parent 48c38f730d
commit 6eb59fea2f
No known key found for this signature in database
GPG Key ID: C24B9CD04DC6AE7F
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ export RANLIB=$TARGET-ranlib
export CFLAGS="-O2 -mtune=intel -g -ggdb -pipe -Wall --param=ssp-buffer-size=4 -mms-bitfields -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fstack-protector-strong -fno-ident"
export LDFLAGS="-Wl,--no-keep-memory -fstack-protector-strong"
./waf configure \
python3 ./waf configure \
--enable-static-build \
--enable-libmpv-shared \
--enable-lua \
@ -31,4 +31,4 @@ export LDFLAGS="-Wl,--no-keep-memory -fstack-protector-strong"
--enable-shaderc \
--enable-rubberband \
--enable-lcms2
./waf build --verbose
python3 ./waf build --verbose

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
./waf configure \
python3 ./waf configure \
--enable-cdda \
--enable-dvbin \
--enable-dvdnav \
@ -13,4 +13,4 @@ set -e
--enable-shaderc \
--enable-vulkan \
--enable-zsh-comp
./waf build --verbose
python3 ./waf build --verbose