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

This commit is contained in:
crimsonwoods
2013-03-08 02:55:13 +09:00
parent 2e95f638cd
commit 51b8c8d5a8
+1 -1
View File
@@ -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'