summaryrefslogtreecommitdiffhomepage
path: root/build_config.rb
diff options
context:
space:
mode:
authorDominic Sisneros <[email protected]>2020-04-01 11:55:35 -0600
committerDominic Sisneros <[email protected]>2020-04-01 11:55:35 -0600
commite3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9 (patch)
tree43199871ab16f12be182bb6d06311f07b7cf4e8d /build_config.rb
parent5acd802d2be19872b703d6c9876aa61a262c6c8c (diff)
downloadmruby-e3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9.tar.gz
mruby-e3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9.zip
build when directories and files have spaces
Modified the build to quote filenames so that it builds when files have spaces
Diffstat (limited to 'build_config.rb')
-rw-r--r--build_config.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/build_config.rb b/build_config.rb
index c0c079c89..254a28ce0 100644
--- a/build_config.rb
+++ b/build_config.rb
@@ -30,9 +30,9 @@ MRuby::Build.new do |conf|
# cc.flags = [ENV['CFLAGS'] || %w()]
# cc.include_paths = ["#{root}/include"]
# cc.defines = %w()
- # cc.option_include_path = '-I%s'
+ # cc.option_include_path = %q[-I"%s"]
# cc.option_define = '-D%s'
- # cc.compile_options = "%{flags} -MMD -o %{outfile} -c %{infile}"
+ # cc.compile_options = %Q[%{flags} -MMD -o "%{outfile}" -c "%{infile}"]
# end
# mrbc settings
@@ -50,25 +50,25 @@ MRuby::Build.new do |conf|
# linker.library_paths = []
# linker.option_library = '-l%s'
# linker.option_library_path = '-L%s'
- # linker.link_options = "%{flags} -o %{outfile} %{objs} %{libs}"
+ # linker.link_options = "%{flags} -o "%{outfile}" %{objs} %{libs}"
# end
# Archiver settings
# conf.archiver do |archiver|
# archiver.command = ENV['AR'] || 'ar'
- # archiver.archive_options = 'rs %{outfile} %{objs}'
+ # archiver.archive_options = 'rs "%{outfile}" %{objs}'
# end
# Parser generator settings
# conf.yacc do |yacc|
# yacc.command = ENV['YACC'] || 'bison'
- # yacc.compile_options = '-o %{outfile} %{infile}'
+ # yacc.compile_options = %q[-o "%{outfile}" "%{infile}"]
# end
# gperf settings
# conf.gperf do |gperf|
# gperf.command = 'gperf'
- # gperf.compile_options = '-L ANSI-C -C -p -j1 -i 1 -g -o -t -N mrb_reserved_word -k"1,3,$" %{infile} > %{outfile}'
+ # gperf.compile_options = %q[-L ANSI-C -C -p -j1 -i 1 -g -o -t -N mrb_reserved_word -k"1,3,$" "%{infile}" > "%{outfile}"]
# end
# file extensions