On Windows platforms, users must agree on addional license.

This commit is contained in:
Tomoyuki Sahara
2014-03-14 10:06:14 +09:00
parent dc17037349
commit 4800836dd4
2 changed files with 16 additions and 1 deletions
+13
View File
@@ -23,3 +23,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
- On Windows platforms, you must agree on addional license too:
Copyright Kevlin Henney, 1997, 2003, 2012. All rights reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose is hereby granted without fee, provided
that this copyright and permissions notice appear in all copies and
derivatives.
This software is supplied "as is" without express or implied warranty.
But that said, if there are any problems please get in touch.
+3 -1
View File
@@ -1,11 +1,13 @@
MRuby::Gem::Specification.new('mruby-dir') do |spec|
spec.license = 'MIT'
spec.authors = 'Internet Initiative Japan Inc.'
spec.authors = [ 'Internet Initiative Japan Inc.' ]
spec.cc.include_paths << "#{build.root}/src"
case RUBY_PLATFORM
when /mingw|mswin/
spec.license = 'MIT and MIT-like license'
spec.authors += [ 'Kevlin Henney' ]
spec.objs += Dir.glob("#{dir}/src/Win/*.{c,cpp,m,asm,S}").map { |f|
objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X"))
}