Use BUILDDIR in ruby-runner.h from config.status

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-12-08 01:49:02 +00:00
parent 3458e8241c
commit 2301054a99
4 changed files with 9 additions and 8 deletions

View file

@ -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 */