summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index 6fc5211..78b3afa 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -52,7 +52,11 @@ File.makedirs archdir, true
File.makedirs pkglibdir+"/site_ruby", true
File.makedirs pkglibdir+"/site_ruby/"+CONFIG["arch"], true
-if PLATFORM =~ /-aix/
+if RUBY_PLATFORM =~ /cygwin/ and File.exist? "import.h"
+ File.install "import.h", archdir, 0644, true
+end
+
+if RUBY_PLATFORM =~ /-aix/
File.install "ruby.imp", archdir, 0644, true
end