mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-02 17:57:26 +08:00
vendored libraries must be created with an object-file index
This commit is contained in:
@@ -95,7 +95,7 @@ EOS
|
||||
objs = Dir.glob('**/*.o')
|
||||
FileUtils.rm_rf libname
|
||||
unless objs.empty?
|
||||
sh "#{@config.locate_binary('ar')} cq #{libname} #{objs.join(' ')}"
|
||||
sh "#{@config.locate_binary('ar')} -rcs #{libname} #{objs.join(' ')}"
|
||||
end
|
||||
end
|
||||
libpath = File.join(build_dir, libname)
|
||||
|
||||
Reference in New Issue
Block a user