diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-26 10:08:18 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-26 10:08:18 +0000 |
commit | 38114e1c7d89a6d8a79845bbea41b898b55ce3f7 (patch) | |
tree | acd2591c3746e2795fe15ef4fa50fa07b6510726 /instruby.rb | |
parent | 62e648e148b3cb9f96dcce808c55c02b7ccb4486 (diff) |
This commit was manufactured by cvs2svn to create tag
'v1_3_1_990126'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_3_1_990126@379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index d489e0f838..1c2610a59a 100644 --- a/instruby.rb +++ b/instruby.rb @@ -29,11 +29,22 @@ for dll in Dir['*.dll'] File.install dll, "#{destdir}#{bindir}/#{dll}", 0755, true end File.makedirs "#{destdir}#{libdir}", true -for lib in ["libruby.so", "libruby.so.LIB"] +for lib in ["libruby.so.LIB", CONFIG["LIBRUBY_SO"]] if File.exist? lib File.install lib, "#{destdir}#{libdir}", 0644, true end end +pwd = Dir.pwd +Dir.chdir libdir +if File.exist? CONFIG["LIBRUBY_SO"] + for alias in [CONFIG["LIBRUBY_SO"]] + if File.exist? alias + File.delete alias + end + File.symlink CONFIG["LIBRUBY_SO"], alias + print "link #{CONFIG['LIBRUBY_SO']} -> #{alias}\n" +end +Dir.chdir pwd File.makedirs "#{destdir}#{pkglibdir}", true File.makedirs "#{destdir}#{archdir}", true Dir.chdir "ext" |