mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5740 from dearblue/src-include
Avoid adding `MRUBY_ROOT/src` to `cc.include_paths`
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
MRuby::Gem::Specification.new('mruby-errno') do |spec|
|
||||
spec.license = 'MIT'
|
||||
spec.authors = 'Internet Initiative Japan Inc.'
|
||||
|
||||
spec.cc.include_paths << "#{build.root}/src"
|
||||
end
|
||||
|
||||
@@ -3,8 +3,6 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
|
||||
spec.authors = ['Internet Initiative Japan Inc.', 'mruby developers']
|
||||
spec.summary = 'IO and File class'
|
||||
|
||||
spec.cc.include_paths << "#{build.root}/src"
|
||||
|
||||
if spec.for_windows?
|
||||
spec.linker.libraries << "ws2_32"
|
||||
end
|
||||
|
||||
@@ -2,6 +2,4 @@ MRuby::Gem::Specification.new('mruby-pack') do |spec|
|
||||
spec.license = 'MIT'
|
||||
spec.authors = ['Internet Initiative Japan Inc.', 'mruby developers']
|
||||
spec.summary = 'Array#pack and String#unpack method'
|
||||
|
||||
spec.cc.include_paths << "#{build.root}/src"
|
||||
end
|
||||
|
||||
@@ -3,7 +3,6 @@ MRuby::Gem::Specification.new('mruby-socket') do |spec|
|
||||
spec.authors = ['Internet Initiative Japan', 'mruby developers']
|
||||
spec.summary = 'standard socket class'
|
||||
|
||||
spec.cc.include_paths << "#{build.root}/src"
|
||||
#spec.cc.defines << "HAVE_SA_LEN=0"
|
||||
|
||||
# If Windows, use winsock
|
||||
|
||||
Reference in New Issue
Block a user