mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-27 01:50:28 +00:00
217d979458
Fix compile error with mruby 1.3.0
15 lines
382 B
Ruby
15 lines
382 B
Ruby
MRuby::Build.new do |conf|
|
|
# TODO use same compilers configured in configure script
|
|
toolchain :clang
|
|
|
|
# C++ project needs this. Without this, mruby exception does not
|
|
# properly destory C++ object allocated on stack.
|
|
conf.enable_cxx_exception
|
|
|
|
conf.build_dir = ENV['BUILD_DIR']
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
conf.gem :core => 'mruby-eval'
|
|
end
|