parameters: (options)
return_statement: return libdir
docstring: Set the PKG_CONFIG_LIBDIR environment variable.
  
    This takes into account any sysroot and architecture specification from the
    options on the given command line.
docstring_summary: Set the PKG_CONFIG_LIBDIR environment variable.
docstring_tokens: Set the PKG_CONFIG_LIBDIR environment variable .
function: def SetConfigPath(options):
    """Set the PKG_CONFIG_LIBDIR environment variable.
  
    This takes into account any sysroot and architecture specification from the
    options on the given command line.
    """
  
    sysroot = options.sysroot
    assert sysroot
  
    # Compute the library path name based on the architecture.
    arch = options.arch
    if sysroot and not arch:
      print("You must specify an architecture via -a if using a sysroot.")
      sys.exit(1)
  
    libdir = sysroot + '/usr/' + options.system_libdir + '/pkgconfig'
    libdir += ':' + sysroot + '/usr/share/pkgconfig'
    os.environ['PKG_CONFIG_LIBDIR'] = libdir
    return libdir
function_tokens: def SetConfigPath ( options ) : sysroot = options . sysroot assert sysroot # Compute the library path name based on the architecture. arch = options . arch if sysroot and not arch : print ( "You must specify an architecture via -a if using a sysroot." ) sys . exit ( 1 ) libdir = sysroot + '/usr/' + options . system_libdir + '/pkgconfig' libdir += ':' + sysroot + '/usr/share/pkgconfig' os . environ [ 'PKG_CONFIG_LIBDIR' ] = libdir return libdir