# pkg-config::get-link-flags

[This is preliminary documentation and subject to change.]

Gets the link flags required to compile the package, including all its dependencies.

### Usage

`string pkg-config::get-link-flags(package)`

### Parameters

Name | Type | Description
--- | --- | ---
package | string | The package for which the link flags should be retrieved.

### Return Value

The link flags required to compile the package.

### Exceptions

The function will fail in any of the following circumstances:

- `pkg-config` could not be started.
- package does not exist.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)