diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-27 14:56:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-27 14:56:04 +0000 |
commit | a3035403104c322b9326739bcc9c7ef7e3b45bcf (patch) | |
tree | c38e230b8cd3c3f91957917303fbe847273b0524 | |
parent | 59821028483d2f2dfaced428be558d319b07a05a (diff) |
* mkconfig.rb: should not use the libraries under the source directory
at cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | mkconfig.rb | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Dec 27 23:56:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * mkconfig.rb: should not use the libraries under the source directory + at cross compiling. + Thu Dec 27 11:02:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * intern.h, string.c (rb_str_set_len): added for upgrading path from diff --git a/mkconfig.rb b/mkconfig.rb index bffefdad14..669e195f91 100755 --- a/mkconfig.rb +++ b/mkconfig.rb @@ -5,7 +5,8 @@ $install_name ||= nil $so_name ||= nil srcdir = File.dirname(__FILE__) -$:.replace [srcdir+"/lib", "."] +$:.replace [srcdir+"/lib"] unless defined?(CROSS_COMPILING) +$:.unshift(".") require "fileutils" mkconfig = File.basename($0) |