From 6dcfe1c3f84480392391bd7a892142ed044d645f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 5 Sep 2015 18:10:10 +0900 Subject: [PATCH] Add missing build_config.rb --- third-party/build_config.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 third-party/build_config.rb diff --git a/third-party/build_config.rb b/third-party/build_config.rb new file mode 100644 index 00000000..7ddd2e9b --- /dev/null +++ b/third-party/build_config.rb @@ -0,0 +1,14 @@ +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_abi + + conf.build_dir = ENV['BUILD_DIR'] + + # include the default GEMs + conf.gembox 'default' + conf.gem :core => 'mruby-eval' +end