From 3734ff4bb11e82e59cf66a82288b80db3def83ec Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 3 Sep 2025 12:26:25 -0500 Subject: Document internal dep support in pkgconfig.generate `requires` arg Added in #14750 for 1.9.0. Also add FeatureNew. --- docs/markdown/Pkgconfig-module.md | 4 +++- docs/markdown/Release-notes-for-1.9.0.md | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md index 7ddd31026..eb4102627 100644 --- a/docs/markdown/Pkgconfig-module.md +++ b/docs/markdown/Pkgconfig-module.md @@ -44,7 +44,9 @@ keyword arguments. `${PREFIX}/include/foobar-1`, the correct value for this argument would be `foobar-1` - `requires` list of strings, pkgconfig-dependencies or libraries that - `pkgconfig.generate()` was used on to put in the `Requires` field + `pkgconfig.generate()` was used on to put in the `Requires` field. + *Since 1.9.0* internal dependencies are supported if `pkgconfig.generate()` + was used on the underlying library. - `requires_private` the same as `requires` but for the `Requires.private` field - `url` a string with a url for the library - `license` (*Since 1.9.0*) a string with a SPDX license to add to the generated file. diff --git a/docs/markdown/Release-notes-for-1.9.0.md b/docs/markdown/Release-notes-for-1.9.0.md index 2cf5a54e4..aad105fa9 100644 --- a/docs/markdown/Release-notes-for-1.9.0.md +++ b/docs/markdown/Release-notes-for-1.9.0.md @@ -49,6 +49,11 @@ section of .editorconfig based on the parsed file name. When specified, it will add a `License:` attribute to the generated .pc file. +## pkgconfig.generate supports internal dependencies in `requires` + +Internal dependencies can now be specified to `requires` if +pkgconfig.generate was called on the underlying library. + ## New experimental option `rust_dynamic_std` A new option `rust_dynamic_std` can be used to link Rust programs so -- cgit v1.2.3