Index: pydir/wasm-run-torture-tests.py |
diff --git a/pydir/wasm-run-torture-tests.py b/pydir/wasm-run-torture-tests.py |
index dccb0a964af3b0508d70ffe3af7d4c0f260aca62..fb8c8cf1deb8bca5c92c0e2fc8aa8a95783848a5 100755 |
--- a/pydir/wasm-run-torture-tests.py |
+++ b/pydir/wasm-run-torture-tests.py |
@@ -163,7 +163,7 @@ def run_test(test_file, verbose=False): |
# Try to link and run the program. |
cmd = "clang -g -m32 {} -o {} " + \ |
- "./runtime/szrt.c ./runtime/wasm-runtime.cpp -lm" |
+ "./runtime/szrt.c ./runtime/wasm-runtime.cpp -lm -lstdc++" |
cmd = cmd.format(obj_file, exe_file) |
if not run_test or os.system(cmd) == 0: |