mirror of https://github.com/mpv-player/mpv
build: update to waf 1.8.4
This commit is contained in:
parent
9faf482d89
commit
4979f2f452
|
@ -5,9 +5,9 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os, sys, stat, hashlib, subprocess
|
import os, sys, stat, hashlib, subprocess
|
||||||
|
|
||||||
WAFRELEASE = "waf-1.8.1"
|
WAFRELEASE = "waf-1.8.4"
|
||||||
WAFURL = "http://ftp.waf.io/pub/release/" + WAFRELEASE
|
WAFURL = "http://ftp.waf.io/pub/release/" + WAFRELEASE
|
||||||
SHA256HASH = "ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d"
|
SHA256HASH = "f02035fa5d8814f33f19b2b20d43822ddef6bb39b955ca196c2a247a1f9ffaa8"
|
||||||
|
|
||||||
if os.path.exists("waf"):
|
if os.path.exists("waf"):
|
||||||
wafver = subprocess.check_output(['./waf', '--version']).decode()
|
wafver = subprocess.check_output(['./waf', '--version']).decode()
|
||||||
|
|
2
wscript
2
wscript
|
@ -834,7 +834,7 @@ def is_debug_build(ctx):
|
||||||
|
|
||||||
def configure(ctx):
|
def configure(ctx):
|
||||||
ctx.resetenv(ctx.options.variant)
|
ctx.resetenv(ctx.options.variant)
|
||||||
ctx.check_waf_version(mini='1.8.1')
|
ctx.check_waf_version(mini='1.8.4')
|
||||||
target = os.environ.get('TARGET')
|
target = os.environ.get('TARGET')
|
||||||
(cc, pkg_config, ar, windres) = ('cc', 'pkg-config', 'ar', 'windres')
|
(cc, pkg_config, ar, windres) = ('cc', 'pkg-config', 'ar', 'windres')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue