diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-17 21:28:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-17 21:28:36 +0000 |
commit | 43ab72099b92fed6310a8ffdf7b0f0ba0c2c74cd (patch) | |
tree | fe77d517c9ff8d362d980319e0bcbb3f336edef1 /version.c | |
parent | ad41699b470043a5d173782988b6f446b3c32048 (diff) | |
download | bundler-43ab72099b92fed6310a8ffdf7b0f0ba0c2c74cd.tar.gz |
* configure.in (RUBY_EXEC_PREFIX): added to config.h.
* ruby.c (ruby_init_loadpath_safe): TMP_RUBY_PREFIX should be
exec_prefix, not rubylibprefix. [ruby-core:28718]
* version.c (RUBY_LIB_PREFIX): fallback to RUBY_EXEC_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -26,7 +26,10 @@ #define RUBY_THINARCH RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS #endif #ifndef RUBY_LIB_PREFIX -#error RUBY_LIB_PREFIX must be defined +#ifndef RUBY_EXEC_PREFIX +#error RUBY_EXEC_PREFIX must be defined +#endif +#define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby" #endif #ifndef RUBY_SITE_LIB #define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby" |