mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Honor configured ruby header locations as the MJIT header path
[Bug #15391] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
96339a9e1f
commit
7aea1e657d
1 changed files with 12 additions and 0 deletions
12
Makefile.in
12
Makefile.in
|
@ -45,6 +45,14 @@ arch = @arch@
|
|||
sitearch = @sitearch@
|
||||
sitedir = @sitedir@
|
||||
archlibdir = @archlibdir@
|
||||
includedir = @includedir@
|
||||
archincludedir = @archincludedir@
|
||||
rubylibprefix = @rubylibprefix@
|
||||
rubylibdir = @rubylibdir@
|
||||
rubyarchprefix = @rubyarchprefix@
|
||||
rubyarchdir = @rubyarchdir@
|
||||
rubyhdrdir = @rubyhdrdir@
|
||||
rubyarchhdrdir = @rubyarchhdrdir@
|
||||
ruby_version = @ruby_version@
|
||||
RUBY_VERSION_NAME = @RUBY_VERSION_NAME@
|
||||
UNIVERSAL_ARCHNAMES = @UNIVERSAL_ARCHNAMES@
|
||||
|
@ -596,7 +604,11 @@ mjit_config.h:
|
|||
echo '#define RUBY_MJIT_CONFIG_H 1'; \
|
||||
echo; \
|
||||
sep=; \
|
||||
echo '#ifdef LOAD_RELATIVE'; \
|
||||
quote MJIT_HEADER_INSTALL_DIR "/$(MJIT_HEADER_INSTALL_DIR)"; \
|
||||
echo '#else'; \
|
||||
quote MJIT_HEADER_INSTALL_DIR "$(rubyarchhdrdir)"; \
|
||||
echo '#endif'; \
|
||||
quote MJIT_MIN_HEADER_NAME "$(MJIT_MIN_HEADER_NAME)"; \
|
||||
sep=,; \
|
||||
quote "MJIT_CC_COMMON " $(MJIT_CC); \
|
||||
|
|
Loading…
Reference in a new issue