diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 15:26:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 15:26:08 +0000 |
commit | 50f72e927303ee79a471b7b13377e482844420db (patch) | |
tree | a736f567cdb1c62d725c5128a92e663cf5c81bc5 /ext/io/console/buildgem.sh | |
parent | 8e3f8923c05b65e4432ec6f7cc2d332a76ea1a2e (diff) | |
download | ruby-50f72e927303ee79a471b7b13377e482844420db.tar.gz |
io/console: fix gem build failure on Windows
* ext/io/console/extconf.rb: fix gem build failure on Windows.
only win32_vk.inc 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://ci.ruby-lang.org/ruby/trunk@53266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/buildgem.sh')
-rwxr-xr-x | ext/io/console/buildgem.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/io/console/buildgem.sh b/ext/io/console/buildgem.sh new file mode 100755 index 0000000000..65fe545e1e --- /dev/null +++ b/ext/io/console/buildgem.sh @@ -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 |