mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
3458e8241c
commit
2301054a99
4 changed files with 9 additions and 8 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue