[test_swfinterp] Correct compilation on modern mxmlc versions
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 2 Nov 2014 10:41:33 +0000 (11:41 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 2 Nov 2014 10:41:33 +0000 (11:41 +0100)
test/test_swfinterp.py

index b42cd74c738b70704e1eb9ff9d70fefc89cf6f15..273e0f07434058c598a2c5e6a98cb617645d23ab 100644 (file)
@@ -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.')