summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-08 15:46:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-08 15:46:11 +0000
commit60ea4d03edc6a9b8361c7013abd6222cd9468cff (patch)
tree0a90dbbf0498cd88118c0914d212f16b60fb391b
parent472d910a26ec93ba47764ba08577337e8e8ea81f (diff)
mjit.c: revert r62316 partially
* mjit.c (compile_c_to_so): libs is not constant on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 517eadbbf5..55fa49df2a 100644
--- a/mjit.c
+++ b/mjit.c
@@ -660,7 +660,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
int exit_code;
const char *input[] = {NULL, NULL};
const char *output[] = {"-o", NULL, NULL};
- static const char *const libs[] = {
+ const char *libs[] = {
#ifdef _MSC_VER
LIBRUBYARG_SHARED,
"-link",