From 6eb59fea2fca348a72b0cc8a84ccb7dcfe2f8fe6 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Tue, 11 Sep 2018 01:26:28 +0200 Subject: ci: explicitly call waf with python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- ci/build-mingw64.sh | 4 ++-- ci/build-tumbleweed.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index 3be2d9d9ad..b957ae1cf1 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -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 diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh index c626aff660..5f1c3e4a6f 100755 --- a/ci/build-tumbleweed.sh +++ b/ci/build-tumbleweed.sh @@ -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 -- cgit v1.2.3