From a3035403104c322b9326739bcc9c7ef7e3b45bcf Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 27 Dec 2007 14:56:04 +0000 Subject: * 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 --- mkconfig.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mkconfig.rb') 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) -- cgit v1.2.3