NAnt SDK Documentation - v0.92

PkgConfigFunctions.GetLinkFlags Method 

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

[Visual Basic]
<Function(Name:="get-link-flags")>
Public Function GetLinkFlags( _
   ByVal package As String _
) As String
[C#]
[Function(Name="get-link-flags")]
public string GetLinkFlags(
   string package
);

Parameters

package
The package for which the link flags should be retrieved.

Return Value

The link flags required to compile the package.

Exceptions

Exception Type Condition
Win32Exception pkg-config could not be started.
ArgumentException package does not exist.

See Also

PkgConfigFunctions Class | NAnt.Core.Functions Namespace