path: root/ext/io/console/
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-23 15:26:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-23 15:26:08 +0000
commit12a2e17a34e48ceacc6a9bea69c4a85ffcae6019 (patch)
treea736f567cdb1c62d725c5128a92e663cf5c81bc5 /ext/io/console/
parentf9adadc5e610360850b3a4bd9a43e928d1c78bb1 (diff)
io/console: fix gem build failure on Windows
* ext/io/console/extconf.rb: fix gem build failure on Windows. only is included in the gem and no dependencies for the header, so that gperf will not be mandatory. [ruby-core:72453] [Bug #11866] * ext/io/console/io-console.gemspec: include depend file and win32_vk header. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/')
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/io/console/ b/ext/io/console/
new file mode 100755
index 0000000000..65fe545e1e
--- /dev/null
+++ b/ext/io/console/
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+cd ${0%/*}
+trap "mv depend.$$ depend" 0 2
+${RUBY-ruby} -i.$$ -pe 'exit if /^win32_vk/' depend
+${GEM-gem} build io-console.gemspec