File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,15 @@ MRuby::Gem::Specification.new('mruby-process') do |spec|
2727 spec . license = 'MIT'
2828 spec . authors = 'mruby developers'
2929
30- spec . add_test_dependency 'mruby-print' , core : 'mruby-print'
31- spec . add_test_dependency 'mruby-env' , mgem : 'mruby-env'
32- spec . add_test_dependency 'mruby-os' , mgem : 'mruby-os'
30+ spec . add_test_dependency 'mruby-print' , core : 'mruby-print'
31+ spec . add_test_dependency 'mruby-env' , mgem : 'mruby-env'
32+ spec . add_test_dependency 'mruby-os' , mgem : 'mruby-os'
3333
34- spec . mruby . cc . defines << 'HAVE_MRB_PROCESS_H'
35- spec . mruby . cc . include_paths << "#{ build_dir } /include"
34+ spec . mruby . cc . defines << 'HAVE_MRB_PROCESS_H'
35+
36+ [ spec . cc , spec . mruby . cc ] . each do |cc |
37+ cc . include_paths << "#{ spec . dir } /include/mruby/ext"
38+ end
3639
3740 ENV [ 'RAND' ] = Time . now . to_i . to_s if build . test_enabled?
3841
Original file line number Diff line number Diff line change 2525#include <stdlib.h>
2626#include <string.h>
2727#include <stdio.h>
28-
2928#include <sys/stat.h>
3029#include <fcntl.h>
3130
Original file line number Diff line number Diff line change 2727#include <windows.h>
2828#include <process.h>
2929#include <errno.h>
30-
3130#include <tchar.h>
3231#include <stdio.h>
3332
You can’t perform that action at this time.
0 commit comments