summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-20 02:37:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-20 02:37:28 +0000
commitfe5d65f1579aed0aac09329b185b25b61c13cd51 (patch)
tree2af14b97e09037e3e412913b53616bdd4fce6f85 /mjit.c
parent2124cb65b37d868f1e7563d8d52344e8bd041799 (diff)
common.mk: moved macros to mjit_config.h
* Makefile.in, common.mk, win32/Makefile.sub: moved MJIT macros to mjit_config.h from XCFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mjit.c b/mjit.c
index 117e72f750..acd4ea3d27 100644
--- a/mjit.c
+++ b/mjit.c
@@ -647,7 +647,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
const char *libs[] = {
#ifdef _WIN32
# ifdef _MSC_VER
- LIBRUBYARG_SHARED,
+ MJIT_LIBS
"-link",
libruby_installed,
libruby_build,
@@ -655,8 +655,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
/* Look for ruby.dll.a in build and install directories. */
libruby_installed,
libruby_build,
- /* Link to ruby.dll.a, because Windows DLLs don't allow unresolved symbols. */
- LIBRUBYARG_SHARED,
+ MJIT_LIBS
"-lmsvcrt",
"-lgcc",
# endif