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 | 060acd732b433f4fb69ceb42ff0123ee94d67320 (patch) | |
| tree | 6308106175e406ac0590895291265a79786606d7 /ext | |
| parent | 6d1695e3f77541ecbb5e07bfc9f27138a1b21e07 (diff) | |
| download | ruby-060acd732b433f4fb69ceb42ff0123ee94d67320.tar.gz ruby-060acd732b433f4fb69ceb42ff0123ee94d67320.tar.xz ruby-060acd732b433f4fb69ceb42ff0123ee94d67320.zip | |
* 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
Diffstat (limited to 'ext')
| -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 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 |
