mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[test_swfinterp] Correct compilation on modern mxmlc versions
This commit is contained in:
parent
ecc0c5ee01
commit
39f0a2a6b7
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ def test_func(self):
|
||||||
or os.path.getmtime(swf_file) < os.path.getmtime(as_file)):
|
or os.path.getmtime(swf_file) < os.path.getmtime(as_file)):
|
||||||
# Recompile
|
# Recompile
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(['mxmlc', '-output', swf_file, as_file])
|
subprocess.check_call([
|
||||||
|
'mxmlc', '-output', swf_file,
|
||||||
|
'-static-link-runtime-shared-libraries', as_file])
|
||||||
except OSError as ose:
|
except OSError as ose:
|
||||||
if ose.errno == errno.ENOENT:
|
if ose.errno == errno.ENOENT:
|
||||||
print('mxmlc not found! Skipping test.')
|
print('mxmlc not found! Skipping test.')
|
||||||
|
|
Loading…
Reference in a new issue