This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/env ruby | |
| # This script sorts static libraries in the topological order suitable for | |
| # passing to ld. No need for --start-group/--end-group anymore. Should speed | |
| # up the linking a bit. When the libraries contain actual circular dependecies | |
| # the script will detect minimal groups of those and surround them with | |
| # --start-group/--end-group. | |
| # | |
| # To run you need Linux (maybe OS X), Ruby 1.9+ and the rgl gem installed: | |
| # | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | align_struct_init_span = 1 | |
| align_var_def_colon = true | |
| align_var_def_span = 0 | |
| indent_align_string = true | |
| indent_brace = 0 | |
| mod_paren_on_return = remove | |
| nl_after_return = true | |
| nl_func_var_def_blk = 1 | |
| align_enum_equ_span = 1 | |
| align_func_params = true |