Sha256: c0dc28fe93fa658c9dcd39c1b43ded4e9871e6966f895effb6002425f86beb3a
Contents?: true
Size: 706 Bytes
Versions: 2
Compression:
Stored size: 706 Bytes
Contents
MRuby::Build.new do |conf| # load specific toolchain settings # Gets set by the VS command prompts. if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] toolchain :visualcpp else toolchain :gcc end # include the GEM box conf.gembox 'default' # C compiler settings conf.cc do |cc| cc.flags = '-fPIC' end conf.archiver do |archiver| archiver.command = 'gcc' archiver.archive_options = '-shared -o %{outfile} %{objs}' end # file extensions conf.exts do |exts| exts.library = '.so' end # file separator # conf.file_separator = '/' # Turn on `enable_debug` for better debugging conf.enable_debug conf.enable_bintest conf.enable_test end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
script_core-0.3.2 | ext/enterprise_script_service/mruby/build_config/host-shared.rb |
script_core-0.3.0 | ext/enterprise_script_service/mruby/build_config/host-shared.rb |