mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 16:00:07 +00:00
15 lines
398 B
Ruby
15 lines
398 B
Ruby
MRuby::Build.new do |conf|
|
|
toolchain :clang if ENV['CC'].include? "clang"
|
|
toolchain :gcc if ENV['CC'].include? "gcc"
|
|
|
|
# C++ project needs this. Without this, mruby exception does not
|
|
# properly destroy 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
|