diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-13 14:44:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-13 14:44:59 +0000 |
commit | 2c716f2b4716372ccf3f591bb0201b73d03dc117 (patch) | |
tree | 9bd0e835fcee4ef1d02bb38590755a3c8a098e80 /ext/extmk.rb | |
parent | 8726077bc11e717d971fb1c18a59576b15879c1b (diff) | |
download | ruby-2c716f2b4716372ccf3f591bb0201b73d03dc117.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r-- | ext/extmk.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 230aab3bd4..c63236c590 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 |