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 | 487b9cf9cc552193896d11eb9738475931ab0bf6 (patch) | |
| tree | 9bd0e835fcee4ef1d02bb38590755a3c8a098e80 /ext | |
| parent | 8c19de137067b568c334cda092378e6e202d0443 (diff) | |
| download | ruby-487b9cf9cc552193896d11eb9738475931ab0bf6.tar.gz ruby-487b9cf9cc552193896d11eb9738475931ab0bf6.tar.xz ruby-487b9cf9cc552193896d11eb9738475931ab0bf6.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/trunk@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 230aab3bd..c63236c59 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 |
