From f0a229b69b40e27a1f0e542a1d4099bd832d8cda Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 27 Nov 2012 00:58:52 +0000 Subject: extconf.rb: git rid of post-1.8 feature * ext/digest/*/extconf.rb, ext/openssl/extconf.rb: get git rid of post-1.8 feature require_relative for cross compilation. [ruby-core:50160] [Bug #7439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/md5/extconf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/digest/md5') diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb index f1dd9122b4..5a57fd3eea 100644 --- a/ext/digest/md5/extconf.rb +++ b/ext/digest/md5/extconf.rb @@ -1,3 +1,4 @@ +# -*- coding: us-ascii -*- # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ @@ -10,7 +11,7 @@ $objs = [ "md5init.#{$OBJEXT}" ] dir_config("openssl") pkg_config("openssl") -require_relative '../../openssl/deprecation' +require File.expand_path('../../../openssl/deprecation', __FILE__) if !with_config("bundled-md5") && have_library("crypto") && OpenSSL.check_func("MD5_Transform", "openssl/md5.h") -- cgit v1.2.3