summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/instruby.rb b/instruby.rb
index 809ab86f3f..0d06ad93ce 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -36,9 +36,11 @@ for dll in Dir['*.dll']
File.install dll, "#{bindir}/#{dll}", 0755, true
end
File.makedirs libdir, true
-for lib in [CONFIG["LIBRUBY_SO"]]
- if File.exist? lib
- File.install lib, libdir, 0555, true
+if CONFIG["LIBRUBY"] != CONFIG["LIBRUBY_A"]
+ for lib in [CONFIG["LIBRUBY"]]
+ if File.exist? lib
+ File.install lib, libdir, 0555, true
+ end
end
end
Dir.chdir libdir