blob: 93920d3bd114e056704f52720a9fa0d07f963e65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
## Improvements to pkgconfig module
A `StaticLibrary` or `SharedLibrary` object can optionally be passed
as first positional argument of the `generate()` method. If one is provided a
default value will be provided for all required fields of the pc file:
- `install_dir` is set to `pkgconfig` folder in the same location than the provided library.
- `description` is set to the project's name followed by the library's name.
- `name` is set to the library's name.
Generating a .pc file is now as simple as:
```
pkgconfig.generate(mylib)
```
|