aboutsummaryrefslogtreecommitdiffstats
path: root/ruby-runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby-runner.c')
-rw-r--r--ruby-runner.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ruby-runner.c b/ruby-runner.c
index 0ad2561aa4..171f476b45 100644
--- a/ruby-runner.c
+++ b/ruby-runner.c
@@ -9,6 +9,10 @@
#include "ruby-runner.h"
#include "ruby/config.h"
+#ifdef MAKE_MJIT_BUILD_DIR
+const char MJIT_BUILD_DIR[] = BUILDDIR;
+#else
+
#define STRINGIZE(expr) STRINGIZE0(expr)
#define STRINGIZE0(expr) #expr
@@ -90,3 +94,5 @@ main(int argc, char **argv)
perror(rubypath);
return -1;
}
+
+#endif /* MAKE_MJIT_BUILD_DIR */