reorder link args

This commit is contained in:
Laurent Sansonetti
2011-10-09 17:06:04 +02:00
parent 865c118ea4
commit c5b589ffe8

View File

@@ -144,7 +144,7 @@ EOS
stubs_obj = File.join(datadir, platform, "#{framework}_stubs.o")
framework_stubs_objs << "\"#{stubs_obj}\"" if File.exist?(stubs_obj)
end
sh "#{cxx} -o \"#{main_exec}\" #{objs_list} #{arch_flags} -isysroot \"#{sdk}\" -L#{File.join(datadir, platform)} -lmacruby-static -lobjc -licucore #{frameworks} #{framework_stubs_objs.join(' ')}"
sh "#{cxx} -o \"#{main_exec}\" #{objs_list} #{arch_flags} #{framework_stubs_objs.join(' ')} -isysroot \"#{sdk}\" -L#{File.join(datadir, platform)} -lmacruby-static -lobjc -licucore #{frameworks}"
# Create bundle/Info.plist.
bundle_info_plist = File.join(bundle_path, 'Info.plist')