aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-02 11:41:33 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-02 11:41:33 +0100
commit39f0a2a6b71c5d3cb2e2f8ef1bc3eeeaa6a96971 (patch)
treef99455674e9897352b1e445803fd9bb4c7e65fae
parentecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c (diff)
downloadyoutube-dl-39f0a2a6b71c5d3cb2e2f8ef1bc3eeeaa6a96971.tar.xz
[test_swfinterp] Correct compilation on modern mxmlc versions
-rw-r--r--test/test_swfinterp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_swfinterp.py b/test/test_swfinterp.py
index b42cd74c7..273e0f074 100644
--- a/test/test_swfinterp.py
+++ b/test/test_swfinterp.py
@@ -37,7 +37,9 @@ def _make_testfunc(testfile):
or os.path.getmtime(swf_file) < os.path.getmtime(as_file)):
# Recompile
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:
if ose.errno == errno.ENOENT:
print('mxmlc not found! Skipping test.')