mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-12 09:09:02 +08:00
Revert "fix where Boxed#new doesn't work for GLKKit structure."
This reverts commit ac89cf6b4b.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
This commit is contained in:
@@ -345,7 +345,7 @@ EOS
|
||||
sdk_path = self.sdk(local_platform)
|
||||
includes = ['-I.'] + headers.map { |header| "-I'#{File.dirname(header)}'" }.uniq
|
||||
exceptions = exceptions.map { |x| "\"#{x}\"" }.join(' ')
|
||||
c_flags = "#{c_flags} -isysroot '#{sdk_path}' #{bridgesupport_cflags} -D__STRICT_ANSI__ #{includes.join(' ')}"
|
||||
c_flags = "#{c_flags} -isysroot '#{sdk_path}' #{bridgesupport_cflags} #{includes.join(' ')}"
|
||||
sh "RUBYOPT='' '#{File.join(bindir, 'gen_bridge_metadata')}' #{bridgesupport_flags} --cflags \"#{c_flags}\" #{headers.map { |x| "'#{x}'" }.join(' ')} -o '#{bs_file}' #{ "-e #{exceptions}" if exceptions.length != 0}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user