pkg-config::get-link-flags Function

# pkg-config::get-link-flags

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.92.4543.0)