Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions mrbgem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,9 @@ MRuby::Gem::Specification.new('mruby-onig-regexp') do |spec|
objs.each{|obj| file obj => oniguruma_lib }
end

task :mruby_onig_regexp_with_compile_option do
cc.include_paths << oniguruma_dir
cc.defines += ['HAVE_ONIGMO_H']
end
file "#{dir}/src/mruby_onig_regexp.c" => [:mruby_onig_regexp_with_compile_option, oniguruma_lib]
cc.include_paths << oniguruma_dir
cc.defines += ['HAVE_ONIGMO_H']
file "#{dir}/src/mruby_onig_regexp.c" => oniguruma_lib
end

if spec.respond_to? :search_package and spec.search_package 'onigmo'
Expand Down
Loading