@Override
  public File[] getLibraryPath() {
    if (this.libDirs == null) {
      final File CCloc = CUtil.getExecutableLocation("CC");
      if (CCloc != null) {
        final File compilerLib = new File(new File(CCloc, "../lib").getAbsolutePath());
        if (compilerLib.exists()) {
          this.libDirs = new File[2];
          this.libDirs[0] = compilerLib;
        }
      }
      if (this.libDirs == null) {
        this.libDirs = new File[1];
      }
    }
    this.libDirs[this.libDirs.length - 1] = new File("/usr/lib");
    return this.libDirs;
  }
@ Override public File [ ] getLibraryPath ( ) { if ( this . libDirs == null ) { final File CCloc = CUtil . getExecutableLocation ( "CC" ) ; if ( CCloc != null ) { final File compilerLib = new File ( new File ( CCloc , "../lib" ) . getAbsolutePath ( ) ) ; if ( compilerLib . exists ( ) ) { this . libDirs = new File [ 2 ] ; this . libDirs [ 0 ] = compilerLib ; } } if ( this . libDirs == null ) { this . libDirs = new File [ 1 ] ; } } this . libDirs [ this . libDirs . length - 1 ] = new File ( "/usr/lib" ) ; return this . libDirs ; }
Returns library path.