diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-27 02:56:30 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-27 02:56:30 +0000 |
commit | e975828471542a8fa3db08ecb641eca2b92e3771 (patch) | |
tree | edaea1b4c530c0b846e59bdf88d29592b57b70e1 /ext | |
parent | e67e5adf4e33b79c3bc2f2c8a8b4a790a88adcf2 (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')
-rw-r--r-- | ext/aix_mksym.rb | 4 | ||||
-rw-r--r-- | ext/extmk.rb.in | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/ext/aix_mksym.rb b/ext/aix_mksym.rb index ae7cf4e5d1..2d5ad1ae9e 100644 --- a/ext/aix_mksym.rb +++ b/ext/aix_mksym.rb @@ -30,6 +30,4 @@ def extract(nm, out) exp.close nm.close end -if older("../ruby.imp", "../miniruby") - extract(open("|/usr/ccs/bin/nm -p ../*.o"), "../ruby.imp") -end +extract(open("|/usr/ccs/bin/nm -p ../*.o"), "../ruby.imp") 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) |