summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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