summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-27 02:56:30 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-27 02:56:30 +0000
commite975828471542a8fa3db08ecb641eca2b92e3771 (patch)
treeedaea1b4c530c0b846e59bdf88d29592b57b70e1 /ext/extmk.rb.in
parente67e5adf4e33b79c3bc2f2c8a8b4a790a88adcf2 (diff)
better AIX support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)