From 060acd732b433f4fb69ceb42ff0123ee94d67320 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 May 2005 14:44:59 +0000 Subject: * ext/extmk.rb: keep srcdir unexpanded. * lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/extmk.rb b/ext/extmk.rb index b5028c21b..04cefd767 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -22,9 +22,9 @@ $compiled = {} $:.replace([Dir.pwd]) require 'rbconfig' -srcdir = File.expand_path("../..", __FILE__) +srcdir = File.dirname(File.dirname(__FILE__)) -$:.unshift(srcdir, srcdir+"/lib") +$:.unshift(srcdir, File.expand_path("lib", srcdir)) $topdir = "." $top_srcdir = srcdir -- cgit