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 | 12a2e17a34e48ceacc6a9bea69c4a85ffcae6019 (patch) | |
tree | a736f567cdb1c62d725c5128a92e663cf5c81bc5 /ext/io/console/buildgem.sh | |
parent | f9adadc5e610360850b3a4bd9a43e928d1c78bb1 (diff) |
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 |