A data type that defines a set of libraries to include when linking an output file.
The CC task.
Attribute | Description | Required |
libs | A comma-separated list of the libraries to include in the link. Names in this list should be the library's basename. | No |
refid | A reference to another <libset> .
No other attributes or nested elements may be used with this attribute. |
No |
The path to use when searching for the libraries.
A Fileset that specifies the libraries to include when linking. Only files that are recognised as a library are passed to the linker.
The example below defines a library set that contains the libraries
pthread
and dl
.
<libset libs="pthread, dl" />
The example below defines a library set that contains all the libraries
under the build/lib
directory.
<libset> <fileset dir="build/lib"/> </libset>