summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 3e6c602d1e..57d7a4a455 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -30,9 +30,9 @@ if $topdir !~ "^/"
# get absolute path
$topdir = File.expand_path($topdir)
end
-$ruby_inc = "@top_srcdir@"
+$ruby_inc = $top_srcdir
-load '@top_srcdir@/lib/find.rb'
+load "#{$top_srcdir}/lib/find.rb"
## drive letter
if PLATFORM == "i386-os2_emx" then
@@ -497,8 +497,8 @@ for d in Dir["#{$top_srcdir}/ext/*"]
print "cleaning ", d, "\n"
else
print "compiling ", d, "\n"
- if PLATFORM =~ /ibm-aix/
- load './aix_mksym.rb'
+ if PLATFORM =~ /-aix/ and older("../ruby.imp", "../miniruby")
+ load "#{$top_srcdir}/ext/aix_mksym.rb"
end
end
extmake(d)