mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mjit.c: place DLDFLAGS at last
* mjit.c (compile_c_to_so): place DLDFLAGS at last, as compilers other than cl.exee don't care the order of flag arguments, usually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
32213cc8d6
commit
f3cc10b63d
1 changed files with 1 additions and 6 deletions
7
mjit.c
7
mjit.c
|
@ -680,12 +680,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
|
|||
files[numberof(files)-3] = so_file;
|
||||
#endif
|
||||
args = form_args(5, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS,
|
||||
#ifdef _MSC_VER
|
||||
files, libs, CC_DLDFLAGS_ARGS
|
||||
#else
|
||||
CC_DLDFLAGS_ARGS, files, libs
|
||||
#endif
|
||||
);
|
||||
files, libs, CC_DLDFLAGS_ARGS);
|
||||
if (args == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue