diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 20:11:20 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 20:11:20 +0000 |
| commit | 6e65d1cef062f70039b01540bda2d388369c6316 (patch) | |
| tree | 4ca0588fb062ca259213dc3afd19f9f00681f13b | |
| parent | 5355a86c64521c7fe1517d3c61d725a6ac44e9f6 (diff) | |
| download | ruby-6e65d1cef062f70039b01540bda2d388369c6316.tar.gz ruby-6e65d1cef062f70039b01540bda2d388369c6316.tar.xz ruby-6e65d1cef062f70039b01540bda2d388369c6316.zip | |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | ext/extmk.rb | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jan 06 05:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> + + + Mon Jan 6 02:32:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * struct.c (make_struct): needs meta class. diff --git a/ext/extmk.rb b/ext/extmk.rb index f8e983ebf..97cf4b4a2 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -11,6 +11,10 @@ $extobjs = nil $ignore = nil $message = nil +$progname = $0 +alias $PROGRAM_NAME $0 +alias $0 $progname + $extlist = [] $:.replace ["."] @@ -78,7 +82,7 @@ def extmake(target) # ignore ensure rm_f "conftest*" - $0 = __FILE__ + $0 = $PROGRAM_NAME Config::CONFIG["srcdir"] = $top_srcdir end end |
