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 | 0e7eb0f84245c9a831bcbc4760e76d8916c71289 (patch) | |
tree | 34b7681023eedc9751f5572962a6f58c1b5780a7 /mkconfig.rb | |
parent | 7e4c66342d53841c11400fd7cb35898d6583a361 (diff) | |
download | ruby-0e7eb0f84245c9a831bcbc4760e76d8916c71289.tar.gz |
* mkconfig.rb: should not use the libraries under the source directory
at cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rwxr-xr-x | mkconfig.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mkconfig.rb b/mkconfig.rb index 8561bbf0e2..7815dd1eee 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) |