diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-05-08 15:06:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 15:06:46 -0400 |
commit | 3b323fcc82d3d06d671c55c2b77f74558706420e (patch) | |
tree | 97c88b96b6db5974feed1e419dbad82d0bf28e62 /tests/framework.h | |
parent | db7123688da302d17ecaa8ee2f87c22f9bcd5b6d (diff) | |
parent | 69cb7232e19c4f85aaeeb03b46d0f1ce5bf7c17e (diff) | |
download | spmc-3b323fcc82d3d06d671c55c2b77f74558706420e.tar.gz |
Merge pull request #35 from jhunkeler/fix-framework
Fix framework
Diffstat (limited to 'tests/framework.h')
-rw-r--r-- | tests/framework.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework.h b/tests/framework.h index 4a7a1a3..aefdef2 100644 --- a/tests/framework.h +++ b/tests/framework.h @@ -181,7 +181,7 @@ char *mock_image(int img_type, const char *img_name, char **_extra_compiler_args img_filename, extra_compiler_args, code_filename); #elif OS_WINDOWS // TODO: UNTESTED #if defined (__MINGW32__) - sprintf(cmd, "gcc -shared -o %s -Wl,—out-implib,%s.a -Wl,—export-all-symbols -Wl,—enable-auto-image-base '%s', + sprintf(cmd, "gcc -shared -o %s -Wl,—out-implib,%s.a -Wl,—export-all-symbols -Wl,—enable-auto-image-base '%s'", img_filename, img_name, extra_compiler_args, code_filename); #elif defined (__MSC_VER) sprintf(cmd, "CL /LD %s", img_filename); @@ -198,7 +198,7 @@ char *mock_image(int img_type, const char *img_name, char **_extra_compiler_args img_filename, extra_compiler_args, code_filename); #elif OS_WINDOWS // TODO: UNTESTED #if defined (__MINGW32__) - sprintf(cmd, "gcc -o %s %s '%s', + sprintf(cmd, "gcc -o %s %s '%s'", img_filename, extra_compiler_args, code_filename); #elif defined (__MSC_VER) sprintf(cmd, "CL /Fe\"%s\" %s", img_name, img_filename); |