瀏覽代碼

[test_swfinterp] Correct compilation on modern mxmlc versions

Philipp Hagemeister 10 年之前
父節點
當前提交
39f0a2a6b7
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      test/test_swfinterp.py

+ 3 - 1
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.')