mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
On Windows platforms, users must agree on addional license.
This commit is contained in:
@@ -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
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user