Commit 51b8c8d5 authored by crimsonwoods's avatar crimsonwoods

bug fix: the argument of '--sysroot' option should be followed '=' character.

parent 2e95f638
......@@ -16,7 +16,7 @@ MRuby::Toolchain.new(:androideabi) do |conf|
[conf.cc, conf.cxx, conf.objc, conf.asm].each do |cc|
cc.command = ENV['CC'] || ANDROID_STANDALONE_TOOLCHAIN + 'gcc'
cc.flags = [ENV['CFLAGS'] || ['--sysroot ' + SYSROOT]]
cc.flags = [ENV['CFLAGS'] || ['--sysroot=' + SYSROOT]]
end
conf.linker.command = ENV['LD'] || ANDROID_STANDALONE_TOOLCHAIN + 'gcc'
conf.archiver.command = ENV['AR'] || ANDROID_STANDALONE_TOOLCHAIN + 'ar'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment