summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 20:11:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 20:11:20 +0000
commita01112eafe4bb4b8a00622225371001787355066 (patch)
tree4ca0588fb062ca259213dc3afd19f9f00681f13b
parente1949185d324cee0a261f020326a058e26c4eec3 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/extmk.rb6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3883609..7375fe1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 f8e983e..97cf4b4 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